summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 06:15:05 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 06:15:05 +0000
commit023561f704f51804d0803ff2c1839901d609a83d (patch)
tree4970794906132a2de1cd30cf837aa054dfd04859 /test/net
parent1f9fa7c62fe9ea241e5f20a84e749808b1875dd4 (diff)
* 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/trunk@39463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 9a7300f..0b3eeeb 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -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)