Skip to main content

get_header_cookies

Function get_header_cookies 

Source
pub fn get_header_cookies(config: &Config, title: &str) -> CookieMap
Expand description

Builds the initial cookie map with standard header values (title, stylesheet, metadata, etc.).

§Security

title is treated as untrusted (e.g. message subject) and is HTML-escaped before insertion into %TITLE% (used in <title> and headings).