File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ unicase = "1.0"
25
25
url = " 0.2"
26
26
27
27
[dependencies .cookie ]
28
- version = " 0.1 "
28
+ version = " 0.2 "
29
29
default-features = false
30
30
31
31
[dependencies .openssl ]
32
- version = " 0.6.4 "
32
+ version = " 0.7 "
33
33
optional = true
34
34
35
35
[dependencies .solicit ]
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ fn test_fmt() {
161
161
162
162
assert_eq ! (
163
163
& headers. to_string( ) [ ..] ,
164
- "Set-Cookie: foo=bar; HttpOnly; Path=/p\r \n Set-Cookie: baz=quux; Path=/ \r \n " ) ;
164
+ "Set-Cookie: foo=bar; HttpOnly; Path=/p\r \n Set-Cookie: baz=quux\r \n " ) ;
165
165
}
166
166
167
167
#[ test]
Original file line number Diff line number Diff line change @@ -661,8 +661,8 @@ mod tests {
661
661
let h2headers = prepare_headers ( headers) ;
662
662
663
663
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( ) ) ,
666
666
] , h2headers) ;
667
667
}
668
668
@@ -700,8 +700,8 @@ mod tests {
700
700
#[ test]
701
701
fn test_http2_parse_headers_with_set_cookie ( ) {
702
702
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( ) ) ,
705
705
] ;
706
706
let expected = header:: SetCookie ( vec ! [
707
707
cookie:: Cookie :: new( "foo" . to_owned( ) , "bar" . to_owned( ) ) ,
You can’t perform that action at this time.
0 commit comments