method

policy_present?

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Middleware
policy_present?(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/content_security_policy.rb, line 49
        def policy_present?(headers)
          headers[POLICY] || headers[POLICY_REPORT_ONLY]
        end
Register or log in to add new notes.