From: Alexander Bokovoy Date: 2002-10-09T18:49:46+09:00 Subject: Re: reading from a URL On Wed, Oct 09, 2002 at 01:39:26AM +0900, ts wrote: > >>>>> "A" == Alexander Bokovoy writes: > > A> That's good to hear. In meantime, I'm patching my Ruby packages for ALT > A> Linux using this code and it works w/o problems. > > Well, I know nothing about all these things (www, http, ...) and probably > I'll say stupidities, but it was not possible to make something like for GET > > proxy = Net::HTTP::Proxy($proxy_addr, $proxy_port) > proxy.basic_auth 'account', 'password' > proxy.start { ... } > > this will give the possibility to have another authentifcation mechanism This is an authorization for the site itself, not for proxy because proxy wants to have 'Proxy-Authorization:' field header set, not 'Basic-Auth:' which it passes to requested site. So it didn't help actually. -- / Alexander Bokovoy --- ISO applications: A solution in search of a problem!