[Rubygems-developers] Good new on authenticating proxies!

Jim Weirich jim at weirichhouse.org
Wed Feb 9 00:30:32 EST 2005


On Monday 07 February 2005 08:48 pm, Assaph Mehr wrote:
> For some reason going thru this proxy kept timeing out of #head, but
> #get fixed it. I've just tested this as:
>
> resp = begin
>       http.head(path)
> rescue Timeout::Error
>       http.get(path)
> end

How long does it take for the head call to time out?

-- 
-- Jim Weirich    jim at weirichhouse.org     http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)


More information about the Rubygems-developers mailing list