[Python-Dev] Python 3.0 urllib fails with chunked HTTP responses
Guido van Rossum
guido at python.org
Wed Dec 17 19:05:29 CET 2008
The inheritance from io.RawIOBase seems fine.
--Guido van Rossum (home page: http://www.python.org/~guido/)
On Mon, Dec 15, 2008 at 11:19 AM, Jeremy Hylton <jeremy at alum.mit.edu> wrote:
> I have a patch that appears to fix this bug
> 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
> 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.
>> I suspect we'd want to get a 3.0.1 out as soon as this is fixed, but
>> that's not my call.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
More information about the Python-Dev