method
policy_present?
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::ContentSecurityPolicy::Middleware
policy_present?(headers)private
No documentation available.
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 48
def policy_present?(headers)
headers[POLICY] || headers[POLICY_REPORT_ONLY]
end