summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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!