1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net/http
usa a5ffcdaeff merge revision(s) 46681,51464,51465: [Backport #11058]
* lib/net/http/response.rb (Net::HTTPResponse.each_response_header):
	  raise first exception even if inflate_body_io.finish raises error.
	  when begin block raises error, finish usually raises error too.

	* lib/net/http/response.rb (Net::HTTPResponse#inflater):
	  fix TypeError. An exception object might be nil.
	  [ruby-core:68846] [Bug #11058]

	* lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish):
	  fix a bug that empty gzipped response body causes Zlib::BufError.
	  [ruby-core:68846] [Bug #11058]

	* test/net/http/test_httpresponse.rb: tests for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-17 08:39:18 +00:00
..
backward.rb * lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to 2012-08-23 22:42:12 +00:00
exceptions.rb
generic_request.rb cleanup by @vipulnsward [GH fixes #262] 2013-03-22 11:57:51 +00:00
header.rb * lib/net/http/header.rb: [DOC] Net::HTTP#to_hash returns pair of key and array values. Thanks @bjhaid [fix GH-467] 2013-12-07 10:33:16 +00:00
proxy_delta.rb
request.rb * lib/net/http/response.rb: Automatically inflate gzip and 2012-07-19 22:43:38 +00:00
requests.rb
response.rb merge revision(s) 46681,51464,51465: [Backport #11058] 2015-08-17 08:39:18 +00:00
responses.rb * lib/net/http/responses.rb: 2013-12-08 17:11:46 +00:00