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

API disregards HTTP-header "Accept-Encoding" from the client #65

Open
p4fg opened this issue Jul 29, 2014 · 0 comments
Open

API disregards HTTP-header "Accept-Encoding" from the client #65

p4fg opened this issue Jul 29, 2014 · 0 comments

Comments

@p4fg
Copy link

p4fg commented Jul 29, 2014

The API currently always sends out the stats with HTTP-compression (deflate), regardless of what the client specifies that it can handle. This breaks the HTTP-compression negotiation specified in RFC 2616.

This causes issues for example (in my case) trying to gather statistics from scripts that does not send "Accept-Encoding: deflate" and thus cannot handle the reply without extra decoding.

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