diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-22 12:54:11 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-22 12:54:11 +0000 |
commit | d80b8cd59eea063deb82b28abf7fd94f4ad0d432 (patch) | |
tree | 6aadc3824c57c1afd58b159e1ffce45adca5659c | |
parent | 56438ac66d50da83978e3469fd85dd87b12b1a62 (diff) | |
download | ruby-d80b8cd59eea063deb82b28abf7fd94f4ad0d432.tar.gz |
modify typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 3866f115b6..6a33fd4918 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1297,7 +1297,7 @@ module Net HTTPUnknownResponse end - def each_response_header( sock, res ) + def each_response_header( sock ) while true do line = sock.readuntil( "\n", true ) # ignore EOF line.sub!( /\s+\z/, '' ) # don't use chop! |