class OriginWhenCrossOriginPolicy(ReferrerPolicy):
https://www.w3.org/TR/referrer-policy/#referrer-policy-origin-when-cross-origin
The "origin-when-cross-origin" policy specifies that a full URL, stripped for use as a referrer, is sent as referrer information when making same-origin requests from a particular request client, and only the ASCII serialization of the origin of the request client is sent as referrer information when making cross-origin requests from a particular request client.
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 |