method

html_response?

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Middleware
html_response?(headers) private

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/permissions_policy.rb, line 55
        def html_response?(headers)
          if content_type = headers[Rack::CONTENT_TYPE]
            content_type.include?("html")
          end
        end
Register or log in to add new notes.