[Python-Dev] Python 3.0 urllib fails with chunked HTTP responses (original) (raw)
Jeremy Hylton jeremy at alum.mit.edu
Mon Dec 15 20:19:39 CET 2008
- Previous message: [Python-Dev] Python 3.0 urllib fails with chunked HTTP responses
- Next message: [Python-Dev] Python 3.0 urllib fails with chunked HTTP responses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a patch that appears to fix this bug http://bugs.python.org/file12361/urllib-chunked.diff but I'm not sure about its interaction with the io module and RawIOBase. Is there a new IO expert who could take a look at it for me?
Jeremy
On Sun, Dec 14, 2008 at 11:06 PM, Jeremy Hylton <jeremy at alum.mit.edu> wrote:
This bug is pretty serious, because urllib will insert garbage into the application-visible data for a chunked response. It simply ignores the fact that it's reading a chunked response and includes the chunked header data is payload data. The original bug was reported in September, but no one noticed it. It was reported again recently.
http://bugs.python.org/issue3761 http://bugs.python.org/issue4631 I suspect we'd want to get a 3.0.1 out as soon as this is fixed, but that's not my call. Jeremy
- Previous message: [Python-Dev] Python 3.0 urllib fails with chunked HTTP responses
- Next message: [Python-Dev] Python 3.0 urllib fails with chunked HTTP responses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]