diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb index c8a00ac3aa1a8f573edadb7daf7526b4fe43ee14..f092a41d47e70103cc997b72f0f091c63a62076b 100755 --- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb +++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb @@ -74,7 +74,7 @@ def self.parse_formatted_request_parameters(mime_type, raw_post_data) params || {} rescue Object => e { "exception" => "#{e.message} (#{e.class})", "backtrace" => e.backtrace, - "raw_post_data" => raw_post_data, "format" => format } + "raw_post_data" => raw_post_data, "format" => mime_type } end private