Py3 - converting bytes to ascii

Anjanesh Lekshminarayanan mail at anjanesh.net
Fri Jan 16 02:16:28 EST 2009


The problem seems be solved with urllib.request.urlretrieve()
I think the binary information read() was giving had headers like 
content-size - but not HTTP headers.
The first couple of bytes indicate how much content to read and after 
reading that content, the next set of bytes indicate the next chunk.



More information about the Python-list mailing list