Lightweight modern Python library to add security headers (CSP, HSTS, etc.) to Django, Flask, FastAPI, and more. Secure defaults or fully customizable.
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.
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 newerreport-to
while many browsers still don't support it (report-uri
will be ignored by browsers supportingreport-to
if both are present)Additionally fixed another deprecation note to say
Deprecated
instead ofDepreciated
.