[issue9500] urllib2: Content-Encoding

guest report at bugs.python.org
Wed Aug 4 14:56:00 CEST 2010


guest <a4596925 at bofthew.com> added the comment:

Nah sorry, I've just been bothered to report it. As I don't run py3 can't write a patch anyway. And it wouldn't help for my current python 2.x setups also.
I guess it's sufficient if this is googleable, and per-application workarounds are very much ok, as Python2 isn't that widely used for webapps.

Also, httplib2 supports Content-Encoding. They still have that raw deflate vs. zlib bug, but that can be fixed. And as externally distributed lib will remedy the situation for all apps and Python < 2.8.

However, it might be a better idea to add a note to the urllib/2 documentation instead. "No default handler for Content-Encoding..." because many people stumbled on this before (see google/stackoverflow).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9500>
_______________________________________


More information about the Python-bugs-list mailing list