httplib slow read

Toby Dickenson tdickenson at devmail.geminidataloggers.co.uk
Wed Dec 5 09:40:17 EST 2001


John Hunter <jdhunter at nitace.bsd.uchicago.edu> wrote:

>
>I am using httplib to make GET requests.

httplib is *very* low level. If you just want an ordinary GET then
urllib is probably a better choice.

>The problem is that the read command is slow; much slower than if I
>make the same request via my browser.

It could well be a problem with your hand-crafted http request. I
suggest you go with urllib.



Toby Dickenson
tdickenson at geminidataloggers.com



More information about the Python-list mailing list