Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5698

Show
Ignore:
Timestamp:
12/06/06 23:20:24 (2 years ago)
Author:
bitsweat
Message:

Remove support for json in X-Post-Data-Format header since it's for backward compatibility only. References #4185.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/request.rb

    r5694 r5698  
    6767            when 'xml' 
    6868              content_type = 'application/xml' 
    69             when 'json' 
    70               content_type = 'application/x-json' 
    7169            end 
    7270          end