summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 21:20:41 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 21:20:41 +0000
commita2193f50e80823d34e3d283effb2b4539c15b6f2 (patch)
tree8e10eaaa7454f9bb0ee99794a987d8a2b1ba6124 /lib/net/http.rb
parent76d7dae26ab8b56dbafcec710fc42a5fb7d79840 (diff)
aamine
* lib/net/http.rb: HTTP#proxy? did not worked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index f2b6635fd4..f96859be1e 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -517,7 +517,7 @@ module Net
end
def proxy?
- type.proxy?
+ type.proxy_class?
end
def proxy_address
@@ -543,7 +543,7 @@ module Net
klass = Class.new( HTTP )
klass.module_eval {
include mod
- @is_proxy = true
+ @is_proxy_class = true
@proxy_address = p_addr
@proxy_port = p_port
}