General cleanup for HSTS/Cookie Arc

This commit is contained in:
Sam Gibson 2015-09-19 18:23:03 +12:00
parent 6f573d5d44
commit 6d20b388f6
3 changed files with 19 additions and 13 deletions

View file

@ -481,7 +481,7 @@ fn test_load_sets_requests_cookies_header_for_url_by_getting_cookies_from_the_re
{
let mut cookie_jar = cookie_jar.write().unwrap();
let cookie_url = Url::parse("http://mozilla.com").unwrap();
let cookie_url = url.clone();
let cookie = Cookie::new_wrapped(
cookie_rs::Cookie::parse("mozillaIs=theBest").unwrap(),
&cookie_url,