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

passing accept-encoding causes problems #14

Open
unwiredben opened this issue Feb 20, 2021 · 0 comments
Open

passing accept-encoding causes problems #14

unwiredben opened this issue Feb 20, 2021 · 0 comments

Comments

@unwiredben
Copy link

unwiredben commented Feb 20, 2021

I just set this up and hit a weird case while testing. Firefox sends an "accept-encoding: gzip" header. The default behavior of the code to to pass this header on, but it doesn't include an encoding header with the returned data, so I was seeing results that were compressed but being interpreted badly by the receiver.

I locally solved it by just deleting any "accept-encoding" headers before sending the request, but it would probably be better to pass on the returned content-encoding header if provided.

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

1 participant