1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

meta_vars should be String.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2003-09-08 20:13:15 +00:00
parent dba351e9c2
commit be28a6ffd8

View file

@ -185,7 +185,7 @@ module WEBrick
meta["REQUEST_URI"] = @request_uri.to_s meta["REQUEST_URI"] = @request_uri.to_s
meta["SCRIPT_NAME"] = @script_name.dup meta["SCRIPT_NAME"] = @script_name.dup
meta["SERVER_NAME"] = @host meta["SERVER_NAME"] = @host
meta["SERVER_PORT"] = @port meta["SERVER_PORT"] = @port.to_s
meta["SERVER_PROTOCOL"] = "HTTP/" + @config[:HTTPVersion].to_s meta["SERVER_PROTOCOL"] = "HTTP/" + @config[:HTTPVersion].to_s
meta["SERVER_SOFTWARE"] = @config[:ServerSoftware].dup meta["SERVER_SOFTWARE"] = @config[:ServerSoftware].dup