Flowdock
method

valid_accept_header

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActionDispatch::Http::MimeNegotiation
valid_accept_header() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 123
      def valid_accept_header
        (xhr? && (accept.present? || content_mime_type)) ||
          (accept.present? && accept !~ BROWSER_LIKE_ACCEPTS)
      end
Register or log in to add new notes.