class documentation

class StrictOriginPolicy(ReferrerPolicy): (source)

View In Hierarchy

https://www.w3.org/TR/referrer-policy/#referrer-policy-strict-origin The "strict-origin" policy sends the ASCII serialization of the origin of the request client when making requests: - from a TLS-protected environment settings object to a potentially trustworthy URL, and - from non-TLS-protected environment settings objects to any origin. Requests from TLS-protected request clients to non- potentially trustworthy URLs, 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): (source)