Permalink
Browse files

Set RAW_POST_DATA in integration tests as expected

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 19fbd84 commit d418b7d39139bb881c37f0f095788ec034b98965 Tobias Lütke committed May 22, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_controller/integration.rb
@@ -245,6 +245,7 @@ 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

0 comments on commit d418b7d

Please sign in to comment.