http_types::security

Function referrer_policy

Source
pub fn referrer_policy(
    headers: impl AsMut<Headers>,
    referrer: Option<ReferrerOptions>,
)
Expand description

Mitigates referrer leakage by controlling the referer[sic] header in links away from pages

read more

Mozilla Developer Network