From d418b7d39139bb881c37f0f095788ec034b98965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Tue, 22 May 2007 22:26:00 +0000 Subject: 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 --- actionpack/lib/action_controller/integration.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index 1a5c8af69a..cee807dae4 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -245,6 +245,7 @@ module ActionController "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 -- cgit v1.2.3