提交 ba7dc5d4 编写于 作者: J Jeremy Kemper

Revert [6811]. Should be fixed instead of selectively reintroducing the...

Revert [6811]. Should be fixed instead of selectively reintroducing the deprecated environment variable.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 b0d01921
......@@ -245,7 +245,6 @@ def process(method, path, parameters=nil, headers=nil)
"SERVER_PORT" => (https? ? "443" : "80"),
"CONTENT_TYPE" => "application/x-www-form-urlencoded",
"CONTENT_LENGTH" => data ? data.length.to_s : nil,
"RAW_POST_DATA" => data,
"HTTP_COOKIE" => encode_cookies,
"HTTPS" => https? ? "on" : "off",
"HTTP_ACCEPT" => accept
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册