diff options
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index 19f397aab1e..61d8400dadc 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -152,7 +152,7 @@ pub struct LoadData { /// Unused in fetch pub preserved_headers: Headers, pub data: Option<Vec<u8>>, - pub cors: Option<ResourceCORSData>, + pub cors: Option<ResourceCorsData>, pub pipeline_id: Option<PipelineId>, // https://fetch.spec.whatwg.org/#concept-http-fetch step 4.3 pub credentials_flag: bool, @@ -472,7 +472,7 @@ pub struct LoadResponse { } #[derive(Clone, Deserialize, Serialize, HeapSizeOf)] -pub struct ResourceCORSData { +pub struct ResourceCorsData { /// CORS Preflight flag pub preflight: bool, /// Origin of CORS Request |