DmytroLitvinov / django-http-referrer-policy

Django middleware implementing the Referrer-Policy header

Home Page:https://django-http-referrer-policy.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REFERRER_POLICY can possibly have a default

sobolevn opened this issue · comments

Do you think that providing a default for REFERRER_POLICY is reasonable?
For example no-referrer-when-downgrade seems like a good candidate for a default value.

Sounds good to me.

From MDN web docs:

no-referrer-when-downgrade (default)
This is the default behavior if no policy is specified, or if the provided value is invalid.

Thanks a lot for the quick fix! 👍

The new version 1.1.0 will be released soon.