ReferrerPolicy.no_referrer_when_downgrade()
Set the policy to no-referrer-when-downgrade.
Usage
ReferrerPolicy.no_referrer_when_downgrade()Sends origin + path + query for same-or-more secure requests (HTTP→HTTP, HTTP→HTTPS, HTTPS→HTTPS), but omits Referer for less secure destinations (HTTPS→HTTP, HTTPS→file).