[Python-Dev] Adding resume (206) support to urllib(2)

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 13 01:39:04 CET 2006


Daniel Watkins schrieb:
> I've just been putting together a podcasting doodad and have included resuming 
> support in it. Is this something that's already in the pipeline or should I 
> abstract it out to urllib and submit a patch?

Not sure where you got the impression that 206 is "resume"; in my copy
of the spec it's "partial content", and you must have put a Range:
header into the request to get that in the first place.

If I had to use that, I'd implement it right on top of httplib, and
wouldn't bother with urllib*: this is really specific to http, and
adding it to urllib would break the abstraction.

In any case, there is no "pipeline" it may be in (except for changes
that have already been committed to the trunk). Something may have
been submitted as a patch or feature request, but a quick search reveals
no relevant open issues.

Regards,
Martin


More information about the Python-Dev mailing list