mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-02 17:24:39 +02:00
add space to cookie header
This commit is contained in:
@ -548,7 +548,7 @@ impl ClientRequestBuilder {
|
|||||||
let _ = write!(&mut cookie, "; {}={}", name, value);
|
let _ = write!(&mut cookie, "; {}={}", name, value);
|
||||||
}
|
}
|
||||||
request.headers.insert(
|
request.headers.insert(
|
||||||
header::COOKIE, HeaderValue::from_str(&cookie.as_str()[1..]).unwrap());
|
header::COOKIE, HeaderValue::from_str(&cookie.as_str()[2..]).unwrap());
|
||||||
}
|
}
|
||||||
request.body = body.into();
|
request.body = body.into();
|
||||||
Ok(request)
|
Ok(request)
|
||||||
|
Reference in New Issue
Block a user