summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index b7054464b8..65424bd61b 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -1152,7 +1152,7 @@ module Net
end
def proxy_basic_auth( account, password )
- header['proxy-authorization'] = basic_encode(account, password)
+ @header['proxy-authorization'] = basic_encode(account, password)
end
def basic_encode( account, password )