mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
create cookie as HTTP instead of NonHttp in test
Cleanup for readability and correctness of unit test in http_loader
This commit is contained in:
parent
17e6007685
commit
248e84e928
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ fn test_load_sends_secure_cookie_if_http_changed_to_https_due_to_entry_in_hsts_s
|
||||||
let cookie = Cookie::new_wrapped(
|
let cookie = Cookie::new_wrapped(
|
||||||
cookie_pair,
|
cookie_pair,
|
||||||
&cookie_url,
|
&cookie_url,
|
||||||
CookieSource::NonHTTP
|
CookieSource::HTTP
|
||||||
).unwrap();
|
).unwrap();
|
||||||
cookie_jar.push(cookie, CookieSource::HTTP);
|
cookie_jar.push(cookie, CookieSource::HTTP);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue