-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Verify that server can send pre-compressed data #906
Conversation
..now with docs |
Thanks |
is this actually working for you guys? I pulled the latest master, and I can't get it to work :(. here is the code
Then I pointed chrome to http://127.0.0.1:8080/ and that gave me a decode error. similar thing with requests:
|
Hm, that test shouldn't pass -- the server sets the content-encoding to gzip, but the |
Ah, indeed, it's not running -- it's missing the |
However, even with
where that 9c 78.. sequence is exactly what
So perhaps this should be fixed by someone who better understands how zlib works? |
This adds a functional test to verify that the case in #672 -- sending a response containing data that is already compressed -- is supported.