Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to remove Accept from headers #649

Closed
SamoPP opened this issue May 23, 2020 · 1 comment
Closed

Add option to remove Accept from headers #649

SamoPP opened this issue May 23, 2020 · 1 comment

Comments

@SamoPP
Copy link

SamoPP commented May 23, 2020

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

@hadley
Copy link
Member

hadley commented Oct 31, 2023

httr has been superseded in favour of httr2, so is no longer under active development. If this problem is still important to you in httr2, I'd suggest filing an issue offer there 😄. Thanks for using httr!

@hadley hadley closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants