class UnsafeUrlPolicy(ReferrerPolicy):
https://www.w3.org/TR/referrer-policy/#referrer-policy-unsafe-url
The "unsafe-url" policy specifies that a full URL, stripped for use as a referrer, is sent along with both cross-origin requests and same-origin requests made from a particular request client.
Note: The policy's name doesn't lie; it is unsafe. This policy will leak origins and paths from TLS-protected resources to insecure origins. Carefully consider the impact of setting such a policy for potentially sensitive documents.
Method | referrer |
Undocumented |
Inherited from ReferrerPolicy
:
Method | origin |
Return serialized origin (scheme, host, path) for a request or response URL. |
Method | origin_referrer |
Undocumented |
Method | potentially_trustworthy |
Undocumented |
Method | strip_url |
https://www.w3.org/TR/referrer-policy/#strip-url |
Method | stripped_referrer |
Undocumented |
Method | tls_protected |
Undocumented |
Class Variable | name |
Undocumented |