Skip to main content

domain_matches

Function domain_matches 

Source
pub fn domain_matches(host: &str, cookie_domain: &str) -> bool
Expand description

Cookie domain matching (RFC 6265 §5.1.3): .grab.com matches grab.com and any subdomain; a host-only food.grab.com matches only itself.