urllib2 HTTPBasicAuthHandler and resumingbroken downloads

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Aug 21 20:57:39 CEST 2008


En Thu, 21 Aug 2008 15:37:41 -0300, Brendan <brendandetracey 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




More information about the Python-list mailing list