зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
9d93bc2b0b
Коммит
a28cd28c04
|
@ -1,3 +1,8 @@
|
|||
Sat Oct 31 17:19:28 2009 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb (Net::HTTPResponse#each_response_header):
|
||||
cosmetic: '?\ ' -> '?\s'
|
||||
|
||||
Fri Oct 30 22:09:47 2009 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb (Net::HTTPResponse#each_response_header):
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче