Jeremy Hylton <jer...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue4631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com