method

policy_present?

policy_present?(headers)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 62
        def policy_present?(headers)
          headers[ActionDispatch::Constants::CONTENT_SECURITY_POLICY] ||
            headers[ActionDispatch::Constants::CONTENT_SECURITY_POLICY_REPORT_ONLY]
        end