summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-31 08:18:32 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-31 08:18:32 +0000
commita28cd28c043b0b4357d7658ed0ed78c4c8ffaff8 (patch)
tree80b0a0c6a600356194aeaa1859d9ef5109948186 /lib
parent9d93bc2b0bd01d47d9fd9dbc0c92abc71db33497 (diff)
* lib/net/http.rb (Net::HTTPResponse#each_response_header):
cosmetic: '?\ ' -> '?\s' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 57a2b2eea5..fb8a3cc08b 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -2162,7 +2162,7 @@ module Net #:nodoc:
while true
line = sock.readuntil("\n", true).sub(/\s+\z/, '')
break if line.empty?
- if line[0] == ?\ or line[0] == ?\t and value
+ if line[0] == ?\s or line[0] == ?\t and value
value << ' ' unless value.empty?
value << line.strip
else