diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 14:08:16 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 14:08:16 +0000 |
commit | 8ec6fcb2f6cd9bc453173477eb237298a5e5bab5 (patch) | |
tree | ee5db4df75454f86f572832727deaee322745b32 /lib | |
parent | 5fa7cdbde54bed9bda3f9de20d621989a19ddc3b (diff) |
* lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTTPInformation) also needs to continue. [Bug #12890]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 25d7dae873..6031bcaaeb 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1425,7 +1425,7 @@ module Net #:nodoc: begin res = HTTPResponse.read_new(@socket) res.decode_content = req.decode_content - end while res.kind_of?(HTTPContinue) + end while res.kind_of?(HTTPInformation) res.uri = req.uri |