Bug #9385 » 0001-open-uri-Ignore-ENV-for-proxy-when-proxy-flag-nil.patch
lib/open-uri.rb | ||
---|---|---|
end
|
||
end
|
||
http = klass.new(target_host, target_port)
|
||
http = proxy ? klass.new(target_host, target_port) : klass.new(target_host, target_port, nil)
|
||
if target.class == URI::HTTPS
|
||
require 'net/https'
|
||
http.use_ssl = true
|
- « Previous
- 1
- 2
- 3
- Next »