method
header_name
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::ContentSecurityPolicy::Middleware
header_name(request)private
No documentation available.
# 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