From d80b8cd59eea063deb82b28abf7fd94f4ad0d432 Mon Sep 17 00:00:00 2001 From: aamine Date: Fri, 22 Feb 2002 12:54:11 +0000 Subject: [PATCH] modify typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!