method
valid_accept_header
v3.1.0 -
Show latest stable
- Class:
ActionDispatch::Http::MimeNegotiation
valid_accept_header()protected
No documentation available.
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 100
def valid_accept_header
xhr? || (accept && accept !~ BROWSER_LIKE_ACCEPTS)
end