diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-05 19:08:26 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-05 19:08:26 +0000 |
commit | 25d3fc8823cfd11efc6ff732dc9cbe32a7361fe0 (patch) | |
tree | 6ef8b1573b9d0c062572ec4047ba5a058e8dbeeb /test/net/http | |
parent | 66ba4e362d7846830c861b7a2a6972498bb37f7c (diff) | |
download | ruby-25d3fc8823cfd11efc6ff732dc9cbe32a7361fe0.tar.gz |
suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http')
-rw-r--r-- | test/net/http/test_https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index b59570ffc2..0df003bdda 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -51,7 +51,7 @@ class TestNetHTTPS < Test::Unit::TestCase store_ctx.current_cert.to_der == config('ssl_certificate').to_der end data = config('ssl_private_key').to_der - http.request_post("/", data) {|res| + http.request_post("/", data, {'content-type' => 'application/x-www-form-urlencoded'}) {|res| assert_equal(data, res.body) } rescue SystemCallError |