# File lib/action_controller/deprecated_request_methods.rb, line 8 def post_format case content_type.to_s when 'application/xml' :xml when 'application/x-yaml' :yaml else :url_encoded end end