method

report_uri

Importance_1
v8.1.1 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
report_uri(uri) public

Enable the [report-uri](developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri) directive. Violation reports will be sent to the specified URI:

policy.report_uri "/csp-violation-report-endpoint"
Show source
Register or log in to add new notes.