# File lib/action_controller/deprecated_request_methods.rb, line 20 def formatted_post? post? && (post_format == :yaml || post_format == :xml) end