mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
implement support for withCredentials
This commit is contained in:
parent
2cfcc26d9e
commit
ce3c9ff57c
4 changed files with 21 additions and 6 deletions
|
@ -137,6 +137,8 @@ pub struct LoadData {
|
|||
pub data: Option<Vec<u8>>,
|
||||
pub cors: Option<ResourceCORSData>,
|
||||
pub pipeline_id: Option<PipelineId>,
|
||||
// https://fetch.spec.whatwg.org/#concept-http-fetch step 4.3
|
||||
pub credentials_flag: bool,
|
||||
}
|
||||
|
||||
impl LoadData {
|
||||
|
@ -149,6 +151,7 @@ impl LoadData {
|
|||
data: None,
|
||||
cors: None,
|
||||
pipeline_id: id,
|
||||
credentials_flag: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue