Bug #7494 » 218.patch
lib/net/http.rb | ||
---|---|---|
class << HTTP
|
||
# returns true if self is a class which was created by HTTP::Proxy.
|
||
def proxy_class?
|
||
@is_proxy_class
|
||
@is_proxy_class if defined? @is_proxy_class
|
||
end
|
||
# Address of proxy host. If Net::HTTP does not use a proxy, nil.
|