diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-31 07:02:08 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-31 07:02:08 +0000 |
commit | ffaecb792e8f23efba513ffd8655f7832ba67b89 (patch) | |
tree | be6818a3245bf1210c5f1f3d5b658a44c51c53bc /actionpack | |
parent | dd664c33b73adef336c78a5db4b67ad6cbbefb9f (diff) | |
download | rails-ffaecb792e8f23efba513ffd8655f7832ba67b89.tar.gz rails-ffaecb792e8f23efba513ffd8655f7832ba67b89.tar.bz2 rails-ffaecb792e8f23efba513ffd8655f7832ba67b89.zip |
r4886@ks: jeremy | 2006-07-31 00:01:55 -0700
comma
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index cc16f69020..4c7ead6552 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -168,7 +168,7 @@ module ActionController # prefix 'HTTP_' added if needed. def xml_http_request(path, parameters=nil, headers=nil) headers = (headers || {}).merge( - "X-Requested-With" => "XMLHttpRequest" + "X-Requested-With" => "XMLHttpRequest", "Accept" => "text/javascript, text/html, application/xml, text/xml, */*" ) |