Closed plukevdh closed 14 years ago
Do you want to actually expose this as an option for the command line instead of just in the initializer? That way you could switch it out at runtime.
You mean creating someting like a --no-proxy option? Yeah, thats actually what I did in my code, I guess I forgot to commit that before making the pull request. Will create another commit.
Perfect. Pulling - thanks!
Hey, I ran into a situation where when I run this locally, I get a 403 Forbidden due to a proxy on our networks. This is an issue coming from within the open-uri library and it is fixed pretty simply by ignoring any [http|https]_proxy settings in the system env with the :proxy => nil option.
Quick fix, just makes it more accessible to those running inside a network firewall.