remove the trim
@@ -82,7 +82,7 @@ impl CookieData {
if let Some(cookie_headers) = req.header(&headers::COOKIE) {
for cookie_header in cookie_headers {
// spec says there should be only one, so this is permissive
- for pair in cookie_header.as_str().split(";").map(str::trim) {
+ for pair in cookie_header.as_str().split(";") {
if let Ok(cookie) = Cookie::parse(String::from(pair)) {
jar.add_original(cookie);
}
