drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Support for no_proxy environment variable. #31

Closed lrowe closed 12 years ago

lrowe commented 12 years ago

This pull request adds support for the 'standard' no_proxy environment variable supported by (amongst many others) lynx, wget and Python's urllib.

Pushing this support down to the net-http-persistent level considerably simplifies the setup for tests that need to hit both local and remote services in environments where an http proxy is used.

travisbot commented 12 years ago

This pull request passes (merged ce23c7d2 into 9f861792).