From bb5114bc7e59c494af03f973ba89d7747325f371 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 14 Nov 2016 18:40:30 +0000 Subject: merge revision(s) 56596: [Backport #12890] * 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/branches/ruby_2_2@56787 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 58f1095d20..bceee1c069 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1413,7 +1413,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