Release v0.1.5

* Update to `cookie_store` `v0.14.1`
This commit is contained in:
Patrick Fernie 2021-05-12 13:59:33 -04:00
parent 1526a3f784
commit 0a15ef907b
2 changed files with 3 additions and 3 deletions

View file

@ -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`"

View file

@ -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("; ");