Skip to content

Commit 81d42c9

Browse files
committed
chore(dependencies): update openssl to 0.7 and cookie to 0.2
Closes #686
1 parent d44ee59 commit 81d42c9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ unicase = "1.0"
2525
url = "0.2"
2626

2727
[dependencies.cookie]
28-
version = "0.1"
28+
version = "0.2"
2929
default-features = false
3030

3131
[dependencies.openssl]
32-
version = "0.6.4"
32+
version = "0.7"
3333
optional = true
3434

3535
[dependencies.solicit]

src/header/common/set_cookie.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ fn test_fmt() {
161161

162162
assert_eq!(
163163
&headers.to_string()[..],
164-
"Set-Cookie: foo=bar; HttpOnly; Path=/p\r\nSet-Cookie: baz=quux; Path=/\r\n");
164+
"Set-Cookie: foo=bar; HttpOnly; Path=/p\r\nSet-Cookie: baz=quux\r\n");
165165
}
166166

167167
#[test]

src/http/h2.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ mod tests {
661661
let h2headers = prepare_headers(headers);
662662

663663
assert_eq!(vec![
664-
(b"set-cookie".to_vec(), b"foo=bar; Path=/".to_vec()),
665-
(b"set-cookie".to_vec(), b"baz=quux; Path=/".to_vec()),
664+
(b"set-cookie".to_vec(), b"foo=bar".to_vec()),
665+
(b"set-cookie".to_vec(), b"baz=quux".to_vec()),
666666
], h2headers);
667667
}
668668

@@ -700,8 +700,8 @@ mod tests {
700700
#[test]
701701
fn test_http2_parse_headers_with_set_cookie() {
702702
let h2headers = vec![
703-
(b"set-cookie".to_vec(), b"foo=bar; Path=/".to_vec()),
704-
(b"set-cookie".to_vec(), b"baz=quux; Path=/".to_vec()),
703+
(b"set-cookie".to_vec(), b"foo=bar".to_vec()),
704+
(b"set-cookie".to_vec(), b"baz=quux".to_vec()),
705705
];
706706
let expected = header::SetCookie(vec![
707707
cookie::Cookie::new("foo".to_owned(), "bar".to_owned()),

0 commit comments

Comments
 (0)