Progressive download in urllib2

Jon jonfspencer at gmail.com
Fri Sep 11 23:58:08 CEST 2009


I would like to be able to control the (stop/resume) the download of a
large http object when using urllib2:urlopen() in Linux   My
understanding is that the open reads data until the socket buffers are
filled, then waits until data is consumed (urllib2.read()) and fetches
more.

Is there a way to set the size of the buffer pool and/or effect flow
control?



More information about the Python-list mailing list