class documentation

class SameOriginPolicy(ReferrerPolicy):

View In Hierarchy

https://www.w3.org/TR/referrer-policy/#referrer-policy-same-origin

The "same-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.

Cross-origin requests, on the other hand, will contain no referrer information. A Referer HTTP header will not be sent.

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
def referrer(self, response_url, request_url):