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

Default headers in http driver #703

Closed
bundleman opened this issue Dec 8, 2021 · 0 comments
Closed

Default headers in http driver #703

bundleman opened this issue Dec 8, 2021 · 0 comments

Comments

@bundleman
Copy link
Contributor

bundleman commented Dec 8, 2021

To Reproduce
The http driver adds headers by default, if the user wants to set his own values for these headers, then these values are duplicated. For example, by default, the Accept-Language header is set with the value en-US, en; q = 0.9, ru; q = 0.8, the user wants to set his own value sq; q = 0.6, but the previous value is not replaced by the custom one, but is added to the value by default - en-US, en; q = 0.9, ru; q = 0.8 sq; q = 0.6.

Expected behavior
User headers should replace the default headers

Additional context
Reproducible on all ferret versions

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