mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
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:
parent
495d8b0ec3
commit
faa9fb59e3
3 changed files with 8 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue