class documentation

class DefaultReferrerPolicy(NoReferrerWhenDowngradePolicy):

View In Hierarchy

A variant of "no-referrer-when-downgrade", with the addition that "Referer" is not sent if the parent request was using file:// or s3:// scheme.
Constant NOREFERRER​_SCHEMES Undocumented

Inherited from NoReferrerWhenDowngradePolicy:

Method referrer Undocumented

Inherited from ReferrerPolicy (via NoReferrerWhenDowngradePolicy):

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
NOREFERRER_SCHEMES: Tuple[str, ...] =

Undocumented

Value
LOCAL_SCHEMES+('file', 's3')