Changeset 4636
- Timestamp:
- 07/31/06 07:02:08 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/integration.rb
r4633 r4636 169 169 def xml_http_request(path, parameters=nil, headers=nil) 170 170 headers = (headers || {}).merge( 171 "X-Requested-With" => "XMLHttpRequest" 171 "X-Requested-With" => "XMLHttpRequest", 172 172 "Accept" => "text/javascript, text/html, application/xml, text/xml, */*" 173 173 )