From 1b66e88cca2a932cd787c4bf0665516b33fd303c Mon Sep 17 00:00:00 2001 From: aamine Date: Tue, 24 Jun 2003 07:42:46 +0000 Subject: * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'. git-svn-id: http://svn.ruby-lang.org/repos/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 65ef6022d..bdafb83cb 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 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 ) -- cgit