Jeff Schwab
8/16/2006 9:48:00 PM
I love open-uri, but does anyone know how to configure the time-out
before open() will throw a Timeout::Error? I'd like to make it
shorter.
I'm trying to download some documents from a server that sometimes
works fine, but other times seems to ignore HTTP requests entirely. If
a download doesn't begin after a few seconds, I want to give up on the
request and try again. Ideas are welcome.