summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-16 07:57:43 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-16 07:57:43 +0000
commit7adcec68b19c420381369917a93e4220f3e8f551 (patch)
tree329bce0b41d223c3c20286d984e2915514d9013c /lib/net/http.rb
parentc46cf18e3b336027f9b124b31007702b7ee025ba (diff)
aamine
* lib/net/protocol.rb: ignore EOFError for read. * lib/net/http.rb: user specified header was not used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-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 8925c498a2..5b387f3a7e 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -597,8 +597,8 @@ S
key = canonical(k)
if tmp.key? key then
$stderr.puts "WARNING: duplicated HTTP header: #{k}" if $VERBOSE
- tmp[ key ] = v.strip
end
+ tmp[ key ] = v.strip
end
@u_header.update tmp
end