[issue4631] urlopen returns extra, spurious bytes

Jeremy Hylton report at bugs.python.org
Mon Dec 15 20:15:21 CET 2008


Jeremy Hylton <jeremy at alum.mit.edu> added the comment:

I have a patch here that seems to work for the specific url and that
passes all the tests.  Can anyone check whether it works for a larger
set of cases?

I'm a little concerned because I don't understand the new io library in
much detail.  There's an override for _checkClosed() in the HTTPResponse
that seems a little dodgy.  I'll try to get someone to review that
specifically.

Added file: http://bugs.python.org/file12361/urllib-chunked.diff

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


More information about the Python-bugs-list mailing list