URLLIB2
Thanos Vassilakis
tvassila at siac.com
Fri Jan 31 10:02:45 EST 2003
Use the asynchat module, more examples are in the medusa module, see
http://nightmare.com/.
I have used timeoutsocket in production but had problems when combining it
with urllib2. The example code for an http client in medusa work fine.
thanos
Max M
<maxm at mxm.dk> To: python-list at python.org
Sent by: cc:
python-list-admin@ Subject: Re: URLLIB2
python.org
01/30/2003 04:58
AM
Pigio® wrote:
> Ok, but when urllib2 complete the connections normally returns a response
> (also the exception). In my case urllib2 remains on expectation mode
> (doesn't return).
That is probably beause the connection hangs.
There is a module called "timeoutsocket" or something like that, wich
stops the connetction after a certain time.
Try Google
--
hilsen/regards Max M Rasmussen, Denmark
http://www.futureport.dk/
Fremtiden, videnskab, skeptiscisme og transhumanisme
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list