-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
gzip decompression #18
Comments
I don't have time right now to fork requests and implement this, but here is how httplib2 handles decompression: |
Gzip'd data is supported and seamlessly decompressed by the underlying urllib2 library. Its possible the server isn't sending the gzipped data over:
|
Thanks, you are correct. |
Actually, References: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3 |
Ah, hmm... Well if I can make it function better than urllib2 I'm all for it. |
Tonight I'll file a bug in urllib2. Let me see if I can fix this... Edit: Sorry, I keep closing this by accident. I'm not used to the way GitHub orders the buttons. |
Moving to #19 |
Update: v0.3.2 was just released which includes automatic gzip encoded content decompression. |
Reproducible example: https://gist.github.com/913423
The text was updated successfully, but these errors were encountered: