From 59806dd439f512d6d5b40ea191a224d3198c9042 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 5 Nov 2016 14:08:16 +0000 Subject: * 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 --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3