method
html_response?
v6.1.7.7 -
Show latest stable
- Class:
ActionDispatch::PermissionsPolicy::Middleware
html_response?(headers)private
No documentation available.
# File actionpack/lib/action_dispatch/http/permissions_policy.rb, line 39
def html_response?(headers)
if content_type = headers[CONTENT_TYPE]
/html/.match?(content_type)
end
end