Forum: Ruby open-uri behind authenticated firewall

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Behrang Saeedzadeh (Guest)
on 2007-03-21 00:46
(Received via mailing list)
Hi,

I am behind an authenticated firewall. I have been able to make gem go
through the firewall by setting the HTTP_PROXY env var to
http://user:pass@proxy.com But the open method of the open-uri does
not go through this proxy by default.

 open(address, :proxy => "http://user:pass@proxy.com") is not working.
Any ideas!?

Thanks,
Behi

--
"Science is a differential equation. Religion is a boundary condition"
- Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa
This topic is locked and can not be replied to.