mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01: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
|
// Step 19
|
||||||
let credentials = init
|
let credentials = init.credentials.as_ref().map(|m| m.clone().into());
|
||||||
.credentials
|
|
||||||
.as_ref()
|
|
||||||
.map(|m| m.clone().into());
|
|
||||||
|
|
||||||
if let Some(c) = credentials {
|
if let Some(c) = credentials {
|
||||||
request.credentials_mode = c;
|
request.credentials_mode = c;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue