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

replace ACCEPT_ENCODING with HTTP_ACCEPT_ENCODING #39

Closed
net21 opened this issue Feb 22, 2017 · 1 comment
Closed

replace ACCEPT_ENCODING with HTTP_ACCEPT_ENCODING #39

net21 opened this issue Feb 22, 2017 · 1 comment
Assignees
Labels

Comments

@net21
Copy link

net21 commented Feb 22, 2017

The gzip not working!

should use HTTP_ACCEPT_ENCODING to replace ACCEPT_ENCODING at line 290 in server.py to fix this bug.
from:
environ.get('ACCEPT_ENCODING', '').split(',')]
to
environ.get('HTTP_ACCEPT_ENCODING', '').split(',')]

@miguelgrinberg miguelgrinberg self-assigned this Feb 22, 2017
@miguelgrinberg
Copy link
Owner

Good catch. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants