diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/http.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Jun 24 16:47:07 2003 Minero Aoki <aamine@loveruby.net> + + * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'. + Thanks Douglas Koszerek. (ruby-bugs:PR975) + Tue Jun 24 14:31:17 2003 Minero Aoki <aamine@loveruby.net> * 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 ) |