method

header_name

Importance_0
v6.0.0 - 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 41
        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.