summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 12:54:11 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 12:54:11 +0000
commitbdd5dabaebb5c82af81b472495e3bb1ac5fe66e2 (patch)
tree6aadc3824c57c1afd58b159e1ffce45adca5659c
parent29f3e3036767b7a41f200f35a0da2f983d3ce9c8 (diff)
downloadruby-bdd5dabaebb5c82af81b472495e3bb1ac5fe66e2.tar.gz
ruby-bdd5dabaebb5c82af81b472495e3bb1ac5fe66e2.tar.xz
ruby-bdd5dabaebb5c82af81b472495e3bb1ac5fe66e2.zip
modify typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 3866f115b..6a33fd491 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!