Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed trailing whitespace

  • Loading branch information...
commit 7993cc9d857961bcfef3b5df43e66f5412970c0c 1 parent 2dd5f8b
Eric Hodel authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/http/persistent.rb
4 lib/net/http/persistent.rb
View
@@ -833,11 +833,11 @@ def proxy_from_env
env_no_proxy = ENV['no_proxy'] || ENV['NO_PROXY']
# '*' is special case for always bypass
- return nil if env_no_proxy == '*'
+ return nil if env_no_proxy == '*'
if env_no_proxy then
uri.query = "no_proxy=#{escape(env_no_proxy)}"
- end
+ end
unless uri.user or uri.password then
uri.user = escape ENV['http_proxy_user'] || ENV['HTTP_PROXY_USER']
Please sign in to comment.
Something went wrong with that request. Please try again.