mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CORS naming from 'CORS' to 'Cors'.
As per: https://aturon.github.io/style/naming/README.html#general-conventions-[rfc-#430] Acronyms should be considered one word and not all caps.
This commit is contained in:
parent
35f328d717
commit
bf8752ac9e
9 changed files with 67 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue