pub fn security_headers(
config: &SecurityHeadersConfig,
) -> BTreeMap<String, String>Expand description
SecurityHeadersManager.get_headers resolved against the reference
security_headers dict.
A disabled configuration yields no headers, the class defaults apply, the configured overrides replace the matching class header, the CSP and HSTS blocks extend them, and the custom headers land last.