From 7edda76f1597a92a3d07ab8b1f3ba7f1dee8798c Mon Sep 17 00:00:00 2001 From: mame Date: Sun, 29 Jun 2008 18:02:24 +0000 Subject: * test/net/http/test_http.rb (_test_request__file): specify encoding explicitly. * test/net/http/utils.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/utils.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/net/http/utils.rb') diff --git a/test/net/http/utils.rb b/test/net/http/utils.rb index 766bf71c46..e685a8ff61 100644 --- a/test/net/http/utils.rb +++ b/test/net/http/utils.rb @@ -71,6 +71,7 @@ module TestNetHTTPUtils $test_net_http = nil $test_net_http_data = (0...256).to_a.map {|i| i.chr }.join('') * 64 + $test_net_http_data.force_encoding("ASCII-8BIT") $test_net_http_data_type = 'application/octet-stream' class Servlet < WEBrick::HTTPServlet::AbstractServlet -- cgit v1.2.3