From 170aaabe4b118d2d2cc85e138d79f11c86166b4e Mon Sep 17 00:00:00 2001 From: aamine Date: Tue, 24 Jun 2003 07:42:46 +0000 Subject: [PATCH] * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/net/http.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 65ef6022dd..bdafb83cb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 24 16:47:07 2003 Minero Aoki + + * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'. + Thanks Douglas Koszerek. (ruby-bugs:PR975) + Tue Jun 24 14:31:17 2003 Minero Aoki * config.guess: have wrongly returned "alphaev56-unknown-linux-" 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 )