summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-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 b7054464b..65424bd61 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 )