method
html_response?
rails latest stable - Class:
ActionDispatch::PermissionsPolicy::Middleware
html_response?(headers)private
No documentation available.
# 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