urllib2 HTTPBasicAuthHandler and resumingbroken downloads

Brendan brendandetracey at yahoo.com
Fri Aug 22 13:55:57 CEST 2008

On Aug 21, 3:57 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
> En Thu, 21 Aug 2008 15:37:41 -0300, Brendan <brendandetra... at yahoo.com>  
> escribi :
> > Is there any way to resume an https file download using urllib2 and an
> > HTTPBasicAuthHandler?
> You should provide the Range header (and probably If-Range too) in the  
> request.http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
> --
> Gabriel Genellina

Many thanks for your help.

Ug. Why does everything in Python boil down to reading rfcs? It really
slows us non computer science types down. I'll probably spend a day on
this instead of an hour. I did search the web but had no luck finding
an example, so I posted here as a last resort.

More information about the Python-list mailing list