We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f384d99 commit ace8bc6Copy full SHA for ace8bc6
src/cookies/middleware.rs
@@ -82,7 +82,7 @@ impl CookieData {
82
if let Some(cookie_headers) = req.header(&headers::COOKIE) {
83
for cookie_header in cookie_headers {
84
// spec says there should be only one, so this is permissive
85
- for pair in cookie_header.as_str().split(";").map(str::trim) {
+ for pair in cookie_header.as_str().split(";") {
86
if let Ok(cookie) = Cookie::parse(String::from(pair)) {
87
jar.add_original(cookie);
88
}
0 commit comments