method

header_name

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Middleware
header_name(request) 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 40
        def header_name(request)
          if request.content_security_policy_report_only
            POLICY_REPORT_ONLY
          else
            POLICY
          end
        end
Register or log in to add new notes.