http_types::security

Function nosniff

Source
pub fn nosniff(headers: impl AsMut<Headers>)
Expand description

Prevent browsers from trying to guess (“sniff”) the MIME type, which can have security implications.

read more