From 25d3fc8823cfd11efc6ff732dc9cbe32a7361fe0 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 5 Aug 2014 19:08:26 +0000 Subject: suppress warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_https.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3