httr icon indicating copy to clipboard operation
httr copied to clipboard

Add option to remove Accept from headers

Open SamoPP opened this issue 5 years ago • 0 comments

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).

SamoPP avatar May 23 '20 16:05 SamoPP