download x bytes at a time over network
gagsl-py2 at yahoo.com.ar
Wed Mar 18 04:58:07 CET 2009
En Tue, 17 Mar 2009 17:09:35 -0200, R. David Murray
<rdmurray at bitdance.com> escribió:
> Jean-Paul Calderone <exarkun at divmod.com> wrote:
>> On Tue, 17 Mar 2009 15:17:56 +0000 (UTC), "R. David Murray"
>> <rdmurray at bitdance.com> wrote:
>> >Jean-Paul Calderone <exarkun at divmod.com> wrote:
>> >> On Tue, 17 Mar 2009 12:15:23 +0530, Saurabh <phonethics at gmail.com>
>> >> >
>> >> >It seems to have some header like the one below : b'b495 - binary
>> >> >with 46229 bytes ? Or is it something else ?
>> >> That's just a bug in urllib in Python 3.0.
>> >What makes you say that's a bug? Did I miss something? (Which is
>> I saw it in the Python issue tracker. :) Python 3.0 broke handling of
>> chunked HTTP responses. Instead of interpreting the chunk length
>> it delivered them as part of the response.
> Ah, got you. Thanks for the info.
Just for completeness, here is the tracker issue:
More information about the Python-list