pub fn parse(set_cookie: &str) -> Option<Cookie>Expand description
Parse a single Set-Cookie header value into a Cookie, URI-decoding the value.
Returns None for an empty/blank input or a cookie whose name is a reserved
JavaScript object key (a prototype-pollution guard kept for fidelity).
assert_eq!(set_cookie_parser::parse("foo=bar").unwrap().value, "bar");
assert_eq!(set_cookie_parser::parse("enc=a%20b").unwrap().value, "a b");