Re: urlretrieve can't send headers

2008-04-19 Thread triplezone3
I have looked in to urllib2, and I can't find a function which would allow me to get the progress of the download as it happens, bit by bit, like urlretrieve does, at least not easily. urllib.urlretrieve's returnhook is just handy. I have another question concerning urlretrieve, is there a way I ca

Re: urlretrieve can't send headers

2008-04-19 Thread Diez B. Roggisch
triplezone3 schrieb: > Hello. I'm using urllib.urlretrieve to download files, > because it provides a handy hook function. > Unfortunately, it won't let me send headers, which > could be quite useful. Is there any way I could do > this? I suggest you look into urllib2. It allows you to explicitly

urlretrieve can't send headers

2008-04-19 Thread triplezone3
Hello. I'm using urllib.urlretrieve to download files, because it provides a handy hook function. Unfortunately, it won't let me send headers, which could be quite useful. Is there any way I could do this? __ Sent from Yahoo! Mail. A