method
no_proxy?
v1_8_7_72 -
Show latest stable
- Class:
SOAP
no_proxy?(uri)private
No documentation available.
# File lib/soap/netHttpClient.rb, line 152
def no_proxy?(uri)
if !@proxy or NO_PROXY_HOSTS.include?(uri.host)
return true
end
if @no_proxy
@no_proxy.scan(/([^:,]*)(?::(\d+))?/) do |host, port|
if /(\A|\.)#{Regexp.quote(host)}\z/i =~ uri.host &&
(!port || uri.port == port.to_i)
return true
end
end
else
false
end
end