Merge trunk revision: 39463

* lib/net/http.rb:  Removed duplicate Accept-Encoding in Net::HTTP#get.
  [ruby-trunk - Bug #7924]
* test/net/http/test_http.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-02-24 06:19:29 +00:00
parent 495d8b0ec3
commit faa9fb59e3
3 changed files with 8 additions and 7 deletions

View file

@ -232,6 +232,8 @@ module TestNetHTTP_version_1_1_methods
assert_nothing_raised {
http.get('/', { 'User-Agent' => 'test' }.freeze)
}
assert res.decode_content, '[Bug #7924]'
end
def _test_get__iter(http)