parse_cookies

Function parse_cookies 

Source
pub fn parse_cookies(header: &str) -> Vec<(&str, &str)>
Expand description

Parse a Cookie request header into (name, value) pairs. Simple RFC-6265-shaped parsing: split on ;, trim spaces, split each pair on the FIRST =. No quoting/encoding handling in v1 — values are matched exactly as sent. Public for the router golden-file tests.