httr
httr copied to clipboard
Add option to remove Accept from headers
API server I am working with rejects any request that has to many headers in the request (headers not specified in the documentation). Accept header is redundant in my specific case and API call returns status code 401 invalid request. I believe there should be a way to get rid of Accept header. Currently I do not see how I can remove Accept from headers. API I am working with specifies I can only have Content-type and Authorization. Please add a way to remove (Accept) header(s).