mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update hyper to 0.12
This commit is contained in:
parent
95bfaa0a77
commit
024b40b39d
122 changed files with 3835 additions and 3448 deletions
|
@ -299,7 +299,11 @@ pub fn handle_add_cookie(
|
|||
},
|
||||
};
|
||||
let url = document.url();
|
||||
let method = if cookie.http_only() { HTTP } else { NonHTTP };
|
||||
let method = if cookie.http_only().unwrap_or(false) {
|
||||
HTTP
|
||||
} else {
|
||||
NonHTTP
|
||||
};
|
||||
|
||||
let domain = cookie.domain().map(ToOwned::to_owned);
|
||||
reply
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue