ReferrerPolicy.strict_origin()

Set the policy to strict-origin.

Usage

Source

ReferrerPolicy.strict_origin()

Sends only the origin for same-security requests (HTTPS→HTTPS) and omits Referer on downgrade (HTTPS→HTTP).