Project

General

Profile

Bug #7494 » 218.patch

zzak (zzak _), 12/02/2012 02:20 PM

View differences:

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.
    (1-1/1)