[issue6312] httplib fails with HEAD requests to pages with "transfer-encoding: chunked"
chandrasekar
report at bugs.python.org
Mon Jun 29 19:03:27 CEST 2009
chandrasekar <chkneo at gmail.com> added the comment:
HEAD request wont return any data. So before calling _read_chunked we
have to check the amt is none or not.If its none simply return b''
I've attached the patch too which is take in py3k branch
----------
keywords: +patch
nosy: +chkneo
Added file: http://bugs.python.org/file14389/6312.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6312>
_______________________________________
More information about the Python-bugs-list
mailing list