diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-14 09:31:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-05-14 09:31:35 +0000 |
commit | cada2c71d385203c34b07b51ff5e7f2da7eea8dc (patch) | |
tree | 348e00379ed46610a9ae63b7b407ebab94abe709 /actionpack/lib/action_controller/request.rb | |
parent | 86d2b2792a50d21462216b18fb63e57a628ca40f (diff) | |
download | rails-cada2c71d385203c34b07b51ff5e7f2da7eea8dc.tar.gz rails-cada2c71d385203c34b07b51ff5e7f2da7eea8dc.tar.bz2 rails-cada2c71d385203c34b07b51ff5e7f2da7eea8dc.zip |
Use X-POST_DATA_FORMAT instead of just POST_DATA_FORMAT
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/request.rb')
-rwxr-xr-x | actionpack/lib/action_controller/request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb index 216b9262b2..31d0fb1539 100755 --- a/actionpack/lib/action_controller/request.rb +++ b/actionpack/lib/action_controller/request.rb @@ -33,8 +33,8 @@ module ActionController def post_format - if env['POST_DATA_FORMAT'] - env['POST_DATA_FORMAT'].downcase.intern + if env['HTTP_X_POST_DATA_FORMAT'] + env['HTTP_X_POST_DATA_FORMAT'].downcase.intern else :query_string end |