Function mio_surf::http::security::xss_filter[][src]

pub fn xss_filter(headers: impl AsMut<Headers>)

Sets the X-XSS-Protection header to prevent reflected XSS attacks.

read more