method

valid_accept_header

valid_accept_header()
private

No documentation available.

# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 158
        def valid_accept_header # :doc:
          (xhr? && (accept.present? || content_mime_type)) ||
            (accept.present? && accept !~ BROWSER_LIKE_ACCEPTS)
        end