TypeError / secure

Lightweight modern Python library to add security headers (CSP, HSTS, etc.) to Django, Flask, FastAPI, and more. Secure defaults or fully customizable.
MIT License
900 stars 27 forks source link

Add back `report_uri` CSP directive #16 #18

Closed oplik0 closed 3 years ago

oplik0 commented 3 years ago

Resolves #16 - adds back report-uri directive with a note of deprecation in the docstring, informing of the current recommendation to use both this header and newer report-to while many browsers still don't support it (report-uri will be ignored by browsers supporting report-to if both are present)

Additionally fixed another deprecation note to say Deprecated instead of Depreciated.