Flowdock
method

no_proxy?

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP
no_proxy?(uri) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.