Function http_types::security::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