hyper::header

Constant CONTENT_SECURITY_POLICY_REPORT_ONLY

Source
pub const CONTENT_SECURITY_POLICY_REPORT_ONLY: HeaderName;
Expand description

Allows experimenting with policies by monitoring their effects.

The HTTP Content-Security-Policy-Report-Only response header allows web developers to experiment with policies by monitoring (but not enforcing) their effects. These violation reports consist of JSON documents sent via an HTTP POST request to the specified URI.