ruby-changes:27181
From: drbrain <ko1@a...>
Date: Thu, 14 Feb 2013 10:09:54 +0900 (JST)
Subject: [ruby-changes:27181] drbrain:r39233 (trunk): * lib/net/http: Do not handle Content-Encoding when the user sets
drbrain 2013-02-14 10:09:37 +0900 (Thu, 14 Feb 2013) New Revision: 39233 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39233 Log: * lib/net/http: Do not handle Content-Encoding when the user sets Accept-Encoding. This allows users to handle Content-Encoding for themselves. This restores backwards-compatibility with Ruby 1.x. * lib/net/http/generic_request.rb: ditto. * lib/net/http/response.rb: ditto * test/net/http/test_http.rb: Test for the above. * test/net/http/test_http_request.rb: ditto. * test/net/http/test_httpresponse.rb: ditto. Modified files: trunk/ChangeLog Index: ChangeLog =================================================================== --- ChangeLog (revision 39232) +++ ChangeLog (revision 39233) @@ -3,6 +3,7 @@ Thu Feb 14 10:05:57 2013 Eric Hodel <d https://github.com/ruby/ruby/blob/trunk/ChangeLog#L3 * lib/net/http: Do not handle Content-Encoding when the user sets Accept-Encoding. This allows users to handle Content-Encoding for themselves. This restores backwards-compatibility with Ruby 1.x. + [ruby-trunk - Bug #7831] * lib/net/http/generic_request.rb: ditto. * lib/net/http/response.rb: ditto * test/net/http/test_http.rb: Test for the above. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/