Remove Legacy Policy which is equivalent to UnsafeUrl Policy

This commit is contained in:
Paul Tremberth 2017-03-02 22:56:23 +01:00
parent c2c503192f
commit db176f872b
1 changed files with 0 additions and 5 deletions

View File

@ -239,11 +239,6 @@ class UnsafeUrlPolicy(ReferrerPolicy):
return self.stripped_referrer(response)
class LegacyPolicy(ReferrerPolicy):
def referrer(self, response, request):
return response
class DefaultReferrerPolicy(NoReferrerWhenDowngradePolicy):
"""
A variant of "no-referrer-when-downgrade",