[Zope] Http API Ping
seb bacon
seb@jamkit.com
Fri, 12 Oct 2001 15:10:08 +0100
* Chris Withers <chrisw@nipltd.com> [011012 14:13]:
> > second easiest is to do the naive urllib.urlopen approach - no timeouts,
> > anything like that
> >
> > you could also do this with a timeout - you have to do some of it yourself,
> > using select.select - I can post some code for this if you like.
>
> IIRC, there's a timeout module you can import floating aroudn somewhere...
I've done timeouts using signals, too. I *think* the signal module is
cross platform.
seb