No Content-Length header, nor length property

zljubisic at zljubisic at
Thu Jul 9 08:02:03 CEST 2015

> Ah - looking at the response headers, they include "Transfer-Encoding	
> chunked" - I don't think urlopen handles chunked responses by default, 
> though I could be wrong, I don't have time to check the docs right now.
> The requests library ( seems to handle 
> them -


looks like - as Jon stated - server doesn't use Content-length header, so there is no way to continue a partial download, nor to know in advance what is the file size. :(

I don't see any other option here. 


More information about the Python-list mailing list