Release v0.1.5
* Update to `cookie_store` `v0.14.1`
This commit is contained in:
parent
1526a3f784
commit
0a15ef907b
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "reqwest_cookie_store"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
authors = ["Patrick Fernie <patrick.fernie@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "A simple crate providing an implementation of the `reqwest::cookie::CookieStore` trait for `cookie_store::CookieStore`"
|
||||
|
|
|
@ -101,8 +101,8 @@ fn set_cookies(
|
|||
|
||||
fn cookies(cookie_store: &CookieStore, url: &url::Url) -> Option<HeaderValue> {
|
||||
let s = cookie_store
|
||||
.get_request_cookies(url)
|
||||
.map(|c| format!("{}={}", c.name(), c.value()))
|
||||
.get_request_values(url)
|
||||
.map(|(name, value)| format!("{}={}", name, value))
|
||||
.collect::<Vec<_>>()
|
||||
.join("; ");
|
||||
|
||||
|
|
Loading…
Reference in a new issue