From: Tanner Burson Date: 2005-04-25T23:28:39+09:00 Subject: Re: Proxy Server troubles On 4/25/05, Craig Moran wrote: > I neglected to mention that if you use the proxy version of Net::HTTP, > you can get it to work without a proxy by putting in "" for the proxy > and port. Here's the proxy version: > > net = Net::HTTP::Proxy("proxy", "80").start(host) > > and the non-proxy version: > > net = Net::HTTP::Proxy("", "").start(host) This hangs until the timeout is reached. But if I use nil instead of empty string it continues, but still fails loading correctly in the browser. But I think it may have to do with the headers sent with a proxied request, can you send me the sent headers portion of the output when used with a working proxy server? > > HTH, > Craig