httplib set timeout

Milos Prudek prudek at bvx.cz
Fri May 21 14:04:40 EDT 2004


How can I set httplib timeout for httplib.request() ?

httplib.request timeouts after 3:10 with "socket" timeout error message.
I found socket.settimeout() and I believe there is a way to add
".settimeout()" function to httplib without hacking httplib source.

Is it possible?


-- 
Milos






More information about the Python-list mailing list