mozilla/django-csp

@csp_override decorator

Closed this issue · 0 comments

A decorator to set an entire policy for a specific view. Unlike @csp_patch (#11) this would completely override the site-wide policy and only include the directives mentioned. It would also cause policy-uri to be removed and the complete policy to be sent.