VALID_REFERRER_POLICIES should be a set
sobolevn opened this issue · comments
sobolevn commented
This a minor thing, but set
will be faster for in
operation.
Dmytro Litvinov commented
Nice catch.
Going to refactor that.
Django middleware implementing the Referrer-Policy header
https://django-http-referrer-policy.readthedocs.io/en/latest/
sobolevn opened this issue · comments
This a minor thing, but set
will be faster for in
operation.
Nice catch.
Going to refactor that.