mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fixup! defaulted credentials mode to same-origin & removed fallback credentials
This commit is contained in:
parent
9d8090a876
commit
7fda52ba5c
1 changed files with 1 additions and 4 deletions
|
@ -232,10 +232,7 @@ impl Request {
|
|||
}
|
||||
|
||||
// Step 19
|
||||
let credentials = init
|
||||
.credentials
|
||||
.as_ref()
|
||||
.map(|m| m.clone().into());
|
||||
let credentials = init.credentials.as_ref().map(|m| m.clone().into());
|
||||
|
||||
if let Some(c) = credentials {
|
||||
request.credentials_mode = c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue