diff --git a/services/autorust/codegen/src/codegen_operations.rs b/services/autorust/codegen/src/codegen_operations.rs index df13e96202..93c7cfb9d8 100644 --- a/services/autorust/codegen/src/codegen_operations.rs +++ b/services/autorust/codegen/src/codegen_operations.rs @@ -407,26 +407,28 @@ impl ToTokens for BuildRequestParamsCode { } } ParamKind::Header => { + // always use lowercase header names + let header_name = param_name.to_lowercase(); if !param.optional() || is_vec { if param.is_string() { tokens.extend(quote! { - req.insert_header(#param_name, &this.#param_name_var); + req.insert_header(#header_name, &this.#param_name_var); }); } else { tokens.extend(quote! { - req.insert_header(#param_name, &this.#param_name_var.to_string()); + req.insert_header(#header_name, &this.#param_name_var.to_string()); }); } } else if param.is_string() { tokens.extend(quote! { if let Some(#param_name_var) = &this.#param_name_var { - req.insert_header(#param_name, #param_name_var); + req.insert_header(#header_name, #param_name_var); } }); } else { tokens.extend(quote! { if let Some(#param_name_var) = &this.#param_name_var { - req.insert_header(#param_name, &#param_name_var.to_string()); + req.insert_header(#header_name, &#param_name_var.to_string()); } }); } diff --git a/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs b/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs index f33b373a0a..61b47f1914 100644 --- a/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2019_12/operations.rs @@ -695,7 +695,7 @@ pub mod api { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -760,7 +760,7 @@ pub mod api { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -825,7 +825,7 @@ pub mod api { .query_pairs_mut() .append_pair("deleteRevisions", &delete_revisions.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1460,7 +1460,7 @@ pub mod api_release { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1526,7 +1526,7 @@ pub mod api_release { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -1583,7 +1583,7 @@ pub mod api_release { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1989,7 +1989,7 @@ pub mod api_operation { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2055,7 +2055,7 @@ pub mod api_operation { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -2112,7 +2112,7 @@ pub mod api_operation { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2434,7 +2434,7 @@ pub mod api_operation_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2494,7 +2494,7 @@ pub mod api_operation_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4119,7 +4119,7 @@ pub mod tag { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4183,7 +4183,7 @@ pub mod tag { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -4238,7 +4238,7 @@ pub mod tag { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4696,7 +4696,7 @@ pub mod api_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4763,7 +4763,7 @@ pub mod api_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5142,7 +5142,7 @@ pub mod api_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5218,7 +5218,7 @@ pub mod api_schema { if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5615,7 +5615,7 @@ pub mod api_diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5681,7 +5681,7 @@ pub mod api_diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -5738,7 +5738,7 @@ pub mod api_diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6157,7 +6157,7 @@ pub mod api_issue { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6223,7 +6223,7 @@ pub mod api_issue { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -6280,7 +6280,7 @@ pub mod api_issue { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6654,7 +6654,7 @@ pub mod api_issue_comment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6714,7 +6714,7 @@ pub mod api_issue_comment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7073,7 +7073,7 @@ pub mod api_issue_attachment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7133,7 +7133,7 @@ pub mod api_issue_attachment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7502,7 +7502,7 @@ pub mod api_tag_description { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7569,7 +7569,7 @@ pub mod api_tag_description { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8087,7 +8087,7 @@ pub mod api_version_set { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8151,7 +8151,7 @@ pub mod api_version_set { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8206,7 +8206,7 @@ pub mod api_version_set { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8598,7 +8598,7 @@ pub mod authorization_server { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8662,7 +8662,7 @@ pub mod authorization_server { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8717,7 +8717,7 @@ pub mod authorization_server { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9158,7 +9158,7 @@ pub mod backend { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9222,7 +9222,7 @@ pub mod backend { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9277,7 +9277,7 @@ pub mod backend { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9705,7 +9705,7 @@ pub mod cache { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9769,7 +9769,7 @@ pub mod cache { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9824,7 +9824,7 @@ pub mod cache { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10182,7 +10182,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10247,7 +10247,7 @@ pub mod certificate { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11621,7 +11621,7 @@ pub mod diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11685,7 +11685,7 @@ pub mod diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -11740,7 +11740,7 @@ pub mod diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12117,7 +12117,7 @@ pub mod email_template { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12181,7 +12181,7 @@ pub mod email_template { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12236,7 +12236,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12653,7 +12653,7 @@ pub mod gateway { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12717,7 +12717,7 @@ pub mod gateway { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12772,7 +12772,7 @@ pub mod gateway { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14049,7 +14049,7 @@ pub mod group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14113,7 +14113,7 @@ pub mod group { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -14168,7 +14168,7 @@ pub mod group { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14886,7 +14886,7 @@ pub mod identity_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14950,7 +14950,7 @@ pub mod identity_provider { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15005,7 +15005,7 @@ pub mod identity_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15624,7 +15624,7 @@ pub mod logger { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15688,7 +15688,7 @@ pub mod logger { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15748,7 +15748,7 @@ pub mod logger { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } @@ -16199,7 +16199,7 @@ pub mod notification { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -17083,7 +17083,7 @@ pub mod open_id_connect_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17147,7 +17147,7 @@ pub mod open_id_connect_provider { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17202,7 +17202,7 @@ pub mod open_id_connect_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17564,7 +17564,7 @@ pub mod policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17629,7 +17629,7 @@ pub mod policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17935,7 +17935,7 @@ pub mod sign_in_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17992,7 +17992,7 @@ pub mod sign_in_settings { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -18214,7 +18214,7 @@ pub mod sign_up_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18271,7 +18271,7 @@ pub mod sign_up_settings { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -18506,7 +18506,7 @@ pub mod delegation_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18563,7 +18563,7 @@ pub mod delegation_settings { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19021,7 +19021,7 @@ pub mod product { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19085,7 +19085,7 @@ pub mod product { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19145,7 +19145,7 @@ pub mod product { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(delete_subscriptions) = &this.delete_subscriptions { req.url_mut() .query_pairs_mut() @@ -20424,7 +20424,7 @@ pub mod product_policy { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -20493,7 +20493,7 @@ pub mod product_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20889,7 +20889,7 @@ pub mod named_value { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20960,7 +20960,7 @@ pub mod named_value { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21021,7 +21021,7 @@ pub mod named_value { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -22853,7 +22853,7 @@ pub mod subscription { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -22925,7 +22925,7 @@ pub mod subscription { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -22980,7 +22980,7 @@ pub mod subscription { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -23500,7 +23500,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -24638,7 +24638,7 @@ pub mod user { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -24702,7 +24702,7 @@ pub mod user { .append_pair(azure_core::query_param::API_VERSION, "2019-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -24775,7 +24775,7 @@ pub mod user { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs b/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs index f343b59905..2ffd275969 100644 --- a/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2020_06/operations.rs @@ -719,7 +719,7 @@ pub mod api { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -784,7 +784,7 @@ pub mod api { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -853,7 +853,7 @@ pub mod api { .query_pairs_mut() .append_pair("deleteRevisions", &delete_revisions.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1488,7 +1488,7 @@ pub mod api_release { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1554,7 +1554,7 @@ pub mod api_release { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -1615,7 +1615,7 @@ pub mod api_release { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2021,7 +2021,7 @@ pub mod api_operation { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2087,7 +2087,7 @@ pub mod api_operation { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -2148,7 +2148,7 @@ pub mod api_operation { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2470,7 +2470,7 @@ pub mod api_operation_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2530,7 +2530,7 @@ pub mod api_operation_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4155,7 +4155,7 @@ pub mod tag { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4219,7 +4219,7 @@ pub mod tag { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -4278,7 +4278,7 @@ pub mod tag { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4736,7 +4736,7 @@ pub mod api_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4803,7 +4803,7 @@ pub mod api_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5182,7 +5182,7 @@ pub mod api_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5258,7 +5258,7 @@ pub mod api_schema { if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5655,7 +5655,7 @@ pub mod api_diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5721,7 +5721,7 @@ pub mod api_diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -5782,7 +5782,7 @@ pub mod api_diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6201,7 +6201,7 @@ pub mod api_issue { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6267,7 +6267,7 @@ pub mod api_issue { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -6328,7 +6328,7 @@ pub mod api_issue { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6702,7 +6702,7 @@ pub mod api_issue_comment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6762,7 +6762,7 @@ pub mod api_issue_comment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7121,7 +7121,7 @@ pub mod api_issue_attachment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7181,7 +7181,7 @@ pub mod api_issue_attachment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7550,7 +7550,7 @@ pub mod api_tag_description { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7617,7 +7617,7 @@ pub mod api_tag_description { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8135,7 +8135,7 @@ pub mod api_version_set { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8199,7 +8199,7 @@ pub mod api_version_set { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8258,7 +8258,7 @@ pub mod api_version_set { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8650,7 +8650,7 @@ pub mod authorization_server { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8714,7 +8714,7 @@ pub mod authorization_server { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8773,7 +8773,7 @@ pub mod authorization_server { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9214,7 +9214,7 @@ pub mod backend { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9278,7 +9278,7 @@ pub mod backend { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9337,7 +9337,7 @@ pub mod backend { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9765,7 +9765,7 @@ pub mod cache { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9829,7 +9829,7 @@ pub mod cache { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9888,7 +9888,7 @@ pub mod cache { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10272,7 +10272,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10337,7 +10337,7 @@ pub mod certificate { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10696,7 +10696,7 @@ pub mod content_type { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10762,7 +10762,7 @@ pub mod content_type { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11031,7 +11031,7 @@ pub mod content_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -11091,7 +11091,7 @@ pub mod content_item { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12738,7 +12738,7 @@ pub mod diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12802,7 +12802,7 @@ pub mod diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12861,7 +12861,7 @@ pub mod diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13238,7 +13238,7 @@ pub mod email_template { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13300,7 +13300,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -13361,7 +13361,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13787,7 +13787,7 @@ pub mod gateway { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13851,7 +13851,7 @@ pub mod gateway { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -13910,7 +13910,7 @@ pub mod gateway { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14422,7 +14422,7 @@ pub mod gateway_hostname_configuration { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -14483,7 +14483,7 @@ pub mod gateway_hostname_configuration { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15190,7 +15190,7 @@ pub mod gateway_certificate_authority { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -15251,7 +15251,7 @@ pub mod gateway_certificate_authority { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15622,7 +15622,7 @@ pub mod group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15686,7 +15686,7 @@ pub mod group { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15745,7 +15745,7 @@ pub mod group { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16463,7 +16463,7 @@ pub mod identity_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16527,7 +16527,7 @@ pub mod identity_provider { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -16586,7 +16586,7 @@ pub mod identity_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17204,7 +17204,7 @@ pub mod logger { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17268,7 +17268,7 @@ pub mod logger { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17327,7 +17327,7 @@ pub mod logger { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17747,7 +17747,7 @@ pub mod named_value { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17817,7 +17817,7 @@ pub mod named_value { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17877,7 +17877,7 @@ pub mod named_value { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18434,7 +18434,7 @@ pub mod notification { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -19318,7 +19318,7 @@ pub mod open_id_connect_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19382,7 +19382,7 @@ pub mod open_id_connect_provider { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19441,7 +19441,7 @@ pub mod open_id_connect_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19803,7 +19803,7 @@ pub mod policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19868,7 +19868,7 @@ pub mod policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20365,7 +20365,7 @@ pub mod portal_revision { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -20665,7 +20665,7 @@ pub mod sign_in_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20722,7 +20722,7 @@ pub mod sign_in_settings { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -20944,7 +20944,7 @@ pub mod sign_up_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21001,7 +21001,7 @@ pub mod sign_up_settings { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21236,7 +21236,7 @@ pub mod delegation_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21293,7 +21293,7 @@ pub mod delegation_settings { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21751,7 +21751,7 @@ pub mod product { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21815,7 +21815,7 @@ pub mod product { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21879,7 +21879,7 @@ pub mod product { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(delete_subscriptions) = &this.delete_subscriptions { req.url_mut() .query_pairs_mut() @@ -23158,7 +23158,7 @@ pub mod product_policy { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -23227,7 +23227,7 @@ pub mod product_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -25282,7 +25282,7 @@ pub mod subscription { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); @@ -25362,7 +25362,7 @@ pub mod subscription { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } @@ -25424,7 +25424,7 @@ pub mod subscription { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26063,7 +26063,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -26121,7 +26121,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27134,7 +27134,7 @@ pub mod user { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -27198,7 +27198,7 @@ pub mod user { .append_pair(azure_core::query_param::API_VERSION, "2020-06-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27280,7 +27280,7 @@ pub mod user { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } diff --git a/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs b/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs index b259aea02a..32008f6048 100644 --- a/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2021_01/operations.rs @@ -719,7 +719,7 @@ pub mod api { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -784,7 +784,7 @@ pub mod api { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -853,7 +853,7 @@ pub mod api { .query_pairs_mut() .append_pair("deleteRevisions", &delete_revisions.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1488,7 +1488,7 @@ pub mod api_release { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1554,7 +1554,7 @@ pub mod api_release { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -1615,7 +1615,7 @@ pub mod api_release { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2021,7 +2021,7 @@ pub mod api_operation { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2087,7 +2087,7 @@ pub mod api_operation { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -2148,7 +2148,7 @@ pub mod api_operation { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2470,7 +2470,7 @@ pub mod api_operation_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2530,7 +2530,7 @@ pub mod api_operation_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4155,7 +4155,7 @@ pub mod tag { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4219,7 +4219,7 @@ pub mod tag { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -4278,7 +4278,7 @@ pub mod tag { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4736,7 +4736,7 @@ pub mod api_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4803,7 +4803,7 @@ pub mod api_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5182,7 +5182,7 @@ pub mod api_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5258,7 +5258,7 @@ pub mod api_schema { if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5655,7 +5655,7 @@ pub mod api_diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5721,7 +5721,7 @@ pub mod api_diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -5782,7 +5782,7 @@ pub mod api_diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6201,7 +6201,7 @@ pub mod api_issue { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6267,7 +6267,7 @@ pub mod api_issue { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -6328,7 +6328,7 @@ pub mod api_issue { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6702,7 +6702,7 @@ pub mod api_issue_comment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6762,7 +6762,7 @@ pub mod api_issue_comment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7121,7 +7121,7 @@ pub mod api_issue_attachment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7181,7 +7181,7 @@ pub mod api_issue_attachment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7550,7 +7550,7 @@ pub mod api_tag_description { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7617,7 +7617,7 @@ pub mod api_tag_description { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8135,7 +8135,7 @@ pub mod api_version_set { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8199,7 +8199,7 @@ pub mod api_version_set { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8258,7 +8258,7 @@ pub mod api_version_set { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8650,7 +8650,7 @@ pub mod authorization_server { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8714,7 +8714,7 @@ pub mod authorization_server { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8773,7 +8773,7 @@ pub mod authorization_server { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9214,7 +9214,7 @@ pub mod backend { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9278,7 +9278,7 @@ pub mod backend { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9337,7 +9337,7 @@ pub mod backend { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9765,7 +9765,7 @@ pub mod cache { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9829,7 +9829,7 @@ pub mod cache { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9888,7 +9888,7 @@ pub mod cache { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10272,7 +10272,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10337,7 +10337,7 @@ pub mod certificate { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10696,7 +10696,7 @@ pub mod content_type { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10762,7 +10762,7 @@ pub mod content_type { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11031,7 +11031,7 @@ pub mod content_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -11091,7 +11091,7 @@ pub mod content_item { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12739,7 +12739,7 @@ pub mod diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12803,7 +12803,7 @@ pub mod diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12862,7 +12862,7 @@ pub mod diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13239,7 +13239,7 @@ pub mod email_template { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13301,7 +13301,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -13362,7 +13362,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13788,7 +13788,7 @@ pub mod gateway { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13852,7 +13852,7 @@ pub mod gateway { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -13911,7 +13911,7 @@ pub mod gateway { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14423,7 +14423,7 @@ pub mod gateway_hostname_configuration { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -14484,7 +14484,7 @@ pub mod gateway_hostname_configuration { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15191,7 +15191,7 @@ pub mod gateway_certificate_authority { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -15252,7 +15252,7 @@ pub mod gateway_certificate_authority { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15623,7 +15623,7 @@ pub mod group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15687,7 +15687,7 @@ pub mod group { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15746,7 +15746,7 @@ pub mod group { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16464,7 +16464,7 @@ pub mod identity_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16528,7 +16528,7 @@ pub mod identity_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -16587,7 +16587,7 @@ pub mod identity_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17205,7 +17205,7 @@ pub mod logger { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17269,7 +17269,7 @@ pub mod logger { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17328,7 +17328,7 @@ pub mod logger { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17748,7 +17748,7 @@ pub mod named_value { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17818,7 +17818,7 @@ pub mod named_value { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17878,7 +17878,7 @@ pub mod named_value { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18435,7 +18435,7 @@ pub mod notification { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -19319,7 +19319,7 @@ pub mod open_id_connect_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19383,7 +19383,7 @@ pub mod open_id_connect_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19442,7 +19442,7 @@ pub mod open_id_connect_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19804,7 +19804,7 @@ pub mod policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19869,7 +19869,7 @@ pub mod policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20366,7 +20366,7 @@ pub mod portal_revision { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -20666,7 +20666,7 @@ pub mod sign_in_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20723,7 +20723,7 @@ pub mod sign_in_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -20945,7 +20945,7 @@ pub mod sign_up_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21002,7 +21002,7 @@ pub mod sign_up_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21237,7 +21237,7 @@ pub mod delegation_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21294,7 +21294,7 @@ pub mod delegation_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21752,7 +21752,7 @@ pub mod product { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21816,7 +21816,7 @@ pub mod product { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21880,7 +21880,7 @@ pub mod product { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(delete_subscriptions) = &this.delete_subscriptions { req.url_mut() .query_pairs_mut() @@ -23159,7 +23159,7 @@ pub mod product_policy { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -23228,7 +23228,7 @@ pub mod product_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -25283,7 +25283,7 @@ pub mod subscription { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); @@ -25363,7 +25363,7 @@ pub mod subscription { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } @@ -25425,7 +25425,7 @@ pub mod subscription { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26064,7 +26064,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -26122,7 +26122,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27135,7 +27135,7 @@ pub mod user { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -27199,7 +27199,7 @@ pub mod user { .append_pair(azure_core::query_param::API_VERSION, "2021-01-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27281,7 +27281,7 @@ pub mod user { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } diff --git a/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs b/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs index a70bf2dfc6..b251242372 100644 --- a/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2021_04/operations.rs @@ -728,7 +728,7 @@ pub mod api { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -793,7 +793,7 @@ pub mod api { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -862,7 +862,7 @@ pub mod api { .query_pairs_mut() .append_pair("deleteRevisions", &delete_revisions.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1497,7 +1497,7 @@ pub mod api_release { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1563,7 +1563,7 @@ pub mod api_release { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -1624,7 +1624,7 @@ pub mod api_release { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2030,7 +2030,7 @@ pub mod api_operation { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2096,7 +2096,7 @@ pub mod api_operation { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -2157,7 +2157,7 @@ pub mod api_operation { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2479,7 +2479,7 @@ pub mod api_operation_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2539,7 +2539,7 @@ pub mod api_operation_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4164,7 +4164,7 @@ pub mod tag { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4228,7 +4228,7 @@ pub mod tag { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -4287,7 +4287,7 @@ pub mod tag { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4745,7 +4745,7 @@ pub mod api_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4812,7 +4812,7 @@ pub mod api_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5191,7 +5191,7 @@ pub mod api_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5267,7 +5267,7 @@ pub mod api_schema { if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5664,7 +5664,7 @@ pub mod api_diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5730,7 +5730,7 @@ pub mod api_diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -5791,7 +5791,7 @@ pub mod api_diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6210,7 +6210,7 @@ pub mod api_issue { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6276,7 +6276,7 @@ pub mod api_issue { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -6337,7 +6337,7 @@ pub mod api_issue { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6711,7 +6711,7 @@ pub mod api_issue_comment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6771,7 +6771,7 @@ pub mod api_issue_comment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7130,7 +7130,7 @@ pub mod api_issue_attachment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7190,7 +7190,7 @@ pub mod api_issue_attachment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7559,7 +7559,7 @@ pub mod api_tag_description { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7626,7 +7626,7 @@ pub mod api_tag_description { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8144,7 +8144,7 @@ pub mod api_version_set { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8208,7 +8208,7 @@ pub mod api_version_set { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8267,7 +8267,7 @@ pub mod api_version_set { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8659,7 +8659,7 @@ pub mod authorization_server { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8723,7 +8723,7 @@ pub mod authorization_server { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8782,7 +8782,7 @@ pub mod authorization_server { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9223,7 +9223,7 @@ pub mod backend { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9287,7 +9287,7 @@ pub mod backend { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9346,7 +9346,7 @@ pub mod backend { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9774,7 +9774,7 @@ pub mod cache { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9838,7 +9838,7 @@ pub mod cache { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9897,7 +9897,7 @@ pub mod cache { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10281,7 +10281,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10346,7 +10346,7 @@ pub mod certificate { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10705,7 +10705,7 @@ pub mod content_type { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10771,7 +10771,7 @@ pub mod content_type { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11040,7 +11040,7 @@ pub mod content_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -11100,7 +11100,7 @@ pub mod content_item { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12748,7 +12748,7 @@ pub mod diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12812,7 +12812,7 @@ pub mod diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12871,7 +12871,7 @@ pub mod diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13248,7 +13248,7 @@ pub mod email_template { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13310,7 +13310,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -13371,7 +13371,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13797,7 +13797,7 @@ pub mod gateway { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13861,7 +13861,7 @@ pub mod gateway { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -13920,7 +13920,7 @@ pub mod gateway { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14432,7 +14432,7 @@ pub mod gateway_hostname_configuration { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -14493,7 +14493,7 @@ pub mod gateway_hostname_configuration { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15200,7 +15200,7 @@ pub mod gateway_certificate_authority { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -15261,7 +15261,7 @@ pub mod gateway_certificate_authority { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15632,7 +15632,7 @@ pub mod group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15696,7 +15696,7 @@ pub mod group { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15755,7 +15755,7 @@ pub mod group { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16473,7 +16473,7 @@ pub mod identity_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16537,7 +16537,7 @@ pub mod identity_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -16596,7 +16596,7 @@ pub mod identity_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17214,7 +17214,7 @@ pub mod logger { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17278,7 +17278,7 @@ pub mod logger { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17337,7 +17337,7 @@ pub mod logger { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17757,7 +17757,7 @@ pub mod named_value { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17827,7 +17827,7 @@ pub mod named_value { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17887,7 +17887,7 @@ pub mod named_value { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18444,7 +18444,7 @@ pub mod notification { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -19328,7 +19328,7 @@ pub mod open_id_connect_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19392,7 +19392,7 @@ pub mod open_id_connect_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19451,7 +19451,7 @@ pub mod open_id_connect_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19878,7 +19878,7 @@ pub mod policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19943,7 +19943,7 @@ pub mod policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20440,7 +20440,7 @@ pub mod portal_revision { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -20740,7 +20740,7 @@ pub mod sign_in_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20797,7 +20797,7 @@ pub mod sign_in_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21019,7 +21019,7 @@ pub mod sign_up_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21076,7 +21076,7 @@ pub mod sign_up_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21311,7 +21311,7 @@ pub mod delegation_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21368,7 +21368,7 @@ pub mod delegation_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -22232,7 +22232,7 @@ pub mod product { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -22296,7 +22296,7 @@ pub mod product { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -22360,7 +22360,7 @@ pub mod product { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(delete_subscriptions) = &this.delete_subscriptions { req.url_mut() .query_pairs_mut() @@ -23639,7 +23639,7 @@ pub mod product_policy { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -23708,7 +23708,7 @@ pub mod product_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -25423,7 +25423,7 @@ pub mod schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -25489,7 +25489,7 @@ pub mod schema { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26189,7 +26189,7 @@ pub mod subscription { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); @@ -26269,7 +26269,7 @@ pub mod subscription { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } @@ -26331,7 +26331,7 @@ pub mod subscription { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26970,7 +26970,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27028,7 +27028,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -28041,7 +28041,7 @@ pub mod user { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -28105,7 +28105,7 @@ pub mod user { .append_pair(azure_core::query_param::API_VERSION, "2021-04-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -28187,7 +28187,7 @@ pub mod user { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } diff --git a/services/mgmt/apimanagement/src/package_preview_2021_12/operations.rs b/services/mgmt/apimanagement/src/package_preview_2021_12/operations.rs index 9be39e3f60..cc0b7507ab 100644 --- a/services/mgmt/apimanagement/src/package_preview_2021_12/operations.rs +++ b/services/mgmt/apimanagement/src/package_preview_2021_12/operations.rs @@ -734,7 +734,7 @@ pub mod api { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -799,7 +799,7 @@ pub mod api { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -868,7 +868,7 @@ pub mod api { .query_pairs_mut() .append_pair("deleteRevisions", &delete_revisions.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1503,7 +1503,7 @@ pub mod api_release { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1569,7 +1569,7 @@ pub mod api_release { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -1630,7 +1630,7 @@ pub mod api_release { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2036,7 +2036,7 @@ pub mod api_operation { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2102,7 +2102,7 @@ pub mod api_operation { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -2163,7 +2163,7 @@ pub mod api_operation { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2485,7 +2485,7 @@ pub mod api_operation_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2545,7 +2545,7 @@ pub mod api_operation_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4170,7 +4170,7 @@ pub mod tag { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4234,7 +4234,7 @@ pub mod tag { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -4293,7 +4293,7 @@ pub mod tag { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4751,7 +4751,7 @@ pub mod api_policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4818,7 +4818,7 @@ pub mod api_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5197,7 +5197,7 @@ pub mod api_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5273,7 +5273,7 @@ pub mod api_schema { if let Some(force) = &this.force { req.url_mut().query_pairs_mut().append_pair("force", &force.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5670,7 +5670,7 @@ pub mod api_diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5736,7 +5736,7 @@ pub mod api_diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -5797,7 +5797,7 @@ pub mod api_diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6216,7 +6216,7 @@ pub mod api_issue { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6282,7 +6282,7 @@ pub mod api_issue { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -6343,7 +6343,7 @@ pub mod api_issue { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6717,7 +6717,7 @@ pub mod api_issue_comment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -6777,7 +6777,7 @@ pub mod api_issue_comment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7136,7 +7136,7 @@ pub mod api_issue_attachment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7196,7 +7196,7 @@ pub mod api_issue_attachment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7565,7 +7565,7 @@ pub mod api_tag_description { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7632,7 +7632,7 @@ pub mod api_tag_description { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8150,7 +8150,7 @@ pub mod api_version_set { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8214,7 +8214,7 @@ pub mod api_version_set { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8273,7 +8273,7 @@ pub mod api_version_set { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8665,7 +8665,7 @@ pub mod authorization_server { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8729,7 +8729,7 @@ pub mod authorization_server { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -8788,7 +8788,7 @@ pub mod authorization_server { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9229,7 +9229,7 @@ pub mod backend { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9293,7 +9293,7 @@ pub mod backend { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9352,7 +9352,7 @@ pub mod backend { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9780,7 +9780,7 @@ pub mod cache { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9844,7 +9844,7 @@ pub mod cache { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -9903,7 +9903,7 @@ pub mod cache { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10287,7 +10287,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10352,7 +10352,7 @@ pub mod certificate { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -10794,7 +10794,7 @@ pub mod content_type { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = if let Some(parameters) = &this.parameters { req.insert_header("content-type", "application/json"); @@ -10865,7 +10865,7 @@ pub mod content_type { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -11134,7 +11134,7 @@ pub mod content_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -11194,7 +11194,7 @@ pub mod content_item { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12842,7 +12842,7 @@ pub mod diagnostic { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -12906,7 +12906,7 @@ pub mod diagnostic { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -12965,7 +12965,7 @@ pub mod diagnostic { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13342,7 +13342,7 @@ pub mod email_template { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13404,7 +13404,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -13465,7 +13465,7 @@ pub mod email_template { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13891,7 +13891,7 @@ pub mod gateway { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -13955,7 +13955,7 @@ pub mod gateway { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -14014,7 +14014,7 @@ pub mod gateway { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -14526,7 +14526,7 @@ pub mod gateway_hostname_configuration { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -14587,7 +14587,7 @@ pub mod gateway_hostname_configuration { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15294,7 +15294,7 @@ pub mod gateway_certificate_authority { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -15355,7 +15355,7 @@ pub mod gateway_certificate_authority { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15726,7 +15726,7 @@ pub mod group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15790,7 +15790,7 @@ pub mod group { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -15849,7 +15849,7 @@ pub mod group { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16567,7 +16567,7 @@ pub mod identity_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -16631,7 +16631,7 @@ pub mod identity_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -16690,7 +16690,7 @@ pub mod identity_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17308,7 +17308,7 @@ pub mod logger { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17372,7 +17372,7 @@ pub mod logger { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17431,7 +17431,7 @@ pub mod logger { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17851,7 +17851,7 @@ pub mod named_value { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -17921,7 +17921,7 @@ pub mod named_value { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -17981,7 +17981,7 @@ pub mod named_value { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -18538,7 +18538,7 @@ pub mod notification { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -19422,7 +19422,7 @@ pub mod open_id_connect_provider { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19486,7 +19486,7 @@ pub mod open_id_connect_provider { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -19545,7 +19545,7 @@ pub mod open_id_connect_provider { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -19972,7 +19972,7 @@ pub mod policy { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20037,7 +20037,7 @@ pub mod policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20486,7 +20486,7 @@ pub mod policy_fragment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -20552,7 +20552,7 @@ pub mod policy_fragment { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21033,7 +21033,7 @@ pub mod portal_revision { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21333,7 +21333,7 @@ pub mod sign_in_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21390,7 +21390,7 @@ pub mod sign_in_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21612,7 +21612,7 @@ pub mod sign_up_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21669,7 +21669,7 @@ pub mod sign_up_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -21904,7 +21904,7 @@ pub mod delegation_settings { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -21961,7 +21961,7 @@ pub mod delegation_settings { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -22301,7 +22301,7 @@ pub mod portal_config { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -22359,7 +22359,7 @@ pub mod portal_config { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; req.set_body(req_body); @@ -23184,7 +23184,7 @@ pub mod product { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -23248,7 +23248,7 @@ pub mod product { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -23312,7 +23312,7 @@ pub mod product { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(delete_subscriptions) = &this.delete_subscriptions { req.url_mut() .query_pairs_mut() @@ -24591,7 +24591,7 @@ pub mod product_policy { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -24660,7 +24660,7 @@ pub mod product_policy { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26375,7 +26375,7 @@ pub mod global_schema { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -26441,7 +26441,7 @@ pub mod global_schema { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -27141,7 +27141,7 @@ pub mod subscription { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); @@ -27221,7 +27221,7 @@ pub mod subscription { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } @@ -27283,7 +27283,7 @@ pub mod subscription { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -27922,7 +27922,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -27980,7 +27980,7 @@ pub mod tenant_access { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -28993,7 +28993,7 @@ pub mod user { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -29057,7 +29057,7 @@ pub mod user { .append_pair(azure_core::query_param::API_VERSION, "2021-12-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); @@ -29139,7 +29139,7 @@ pub mod user { if let Some(notify) = &this.notify { req.url_mut().query_pairs_mut().append_pair("notify", ¬ify.to_string()); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); if let Some(app_type) = &this.app_type { req.url_mut().query_pairs_mut().append_pair("appType", app_type); } diff --git a/services/mgmt/automation/src/package_2018_06_preview/operations.rs b/services/mgmt/automation/src/package_2018_06_preview/operations.rs index ea47799179..c7c44a24c1 100644 --- a/services/mgmt/automation/src/package_2018_06_preview/operations.rs +++ b/services/mgmt/automation/src/package_2018_06_preview/operations.rs @@ -6180,7 +6180,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6240,7 +6240,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -6305,7 +6305,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6361,7 +6361,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -6458,7 +6458,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6527,7 +6527,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -6630,7 +6630,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6699,7 +6699,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -7711,7 +7711,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7766,7 +7766,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7828,7 +7828,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7887,7 +7887,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7946,7 +7946,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8011,7 +8011,7 @@ pub mod job { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -8101,7 +8101,7 @@ pub mod job { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8166,7 +8166,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -8268,7 +8268,7 @@ pub mod job_stream { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-05-15-preview"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8361,7 +8361,7 @@ pub mod job_stream { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/automation/src/package_2019_06/operations.rs b/services/mgmt/automation/src/package_2019_06/operations.rs index 45bc34be3b..e380a9b26b 100644 --- a/services/mgmt/automation/src/package_2019_06/operations.rs +++ b/services/mgmt/automation/src/package_2019_06/operations.rs @@ -3401,7 +3401,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3470,7 +3470,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -3573,7 +3573,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3642,7 +3642,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -4654,7 +4654,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4709,7 +4709,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4771,7 +4771,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -4830,7 +4830,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -4889,7 +4889,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4954,7 +4954,7 @@ pub mod job { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5044,7 +5044,7 @@ pub mod job { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5109,7 +5109,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -5211,7 +5211,7 @@ pub mod job_stream { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5304,7 +5304,7 @@ pub mod job_stream { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8078,7 +8078,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8138,7 +8138,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -8203,7 +8203,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8259,7 +8259,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); diff --git a/services/mgmt/automation/src/package_2020_01_13_preview/operations.rs b/services/mgmt/automation/src/package_2020_01_13_preview/operations.rs index 8d6a65d2f9..4acafac591 100644 --- a/services/mgmt/automation/src/package_2020_01_13_preview/operations.rs +++ b/services/mgmt/automation/src/package_2020_01_13_preview/operations.rs @@ -8756,7 +8756,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8811,7 +8811,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8873,7 +8873,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -8932,7 +8932,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -8991,7 +8991,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9056,7 +9056,7 @@ pub mod job { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9146,7 +9146,7 @@ pub mod job { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9211,7 +9211,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9313,7 +9313,7 @@ pub mod job_stream { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9406,7 +9406,7 @@ pub mod job_stream { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9589,7 +9589,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9649,7 +9649,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -9714,7 +9714,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9770,7 +9770,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -9867,7 +9867,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9936,7 +9936,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -10039,7 +10039,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10108,7 +10108,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); diff --git a/services/mgmt/automation/src/package_2021_06_22/operations.rs b/services/mgmt/automation/src/package_2021_06_22/operations.rs index abb55e8ee5..3092b99365 100644 --- a/services/mgmt/automation/src/package_2021_06_22/operations.rs +++ b/services/mgmt/automation/src/package_2021_06_22/operations.rs @@ -8825,7 +8825,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8880,7 +8880,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8942,7 +8942,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9001,7 +9001,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9060,7 +9060,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9125,7 +9125,7 @@ pub mod job { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9215,7 +9215,7 @@ pub mod job { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9280,7 +9280,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9382,7 +9382,7 @@ pub mod job_stream { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9475,7 +9475,7 @@ pub mod job_stream { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9723,7 +9723,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9783,7 +9783,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -9848,7 +9848,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9904,7 +9904,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -10001,7 +10001,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10070,7 +10070,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -10173,7 +10173,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10242,7 +10242,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); diff --git a/services/mgmt/automation/src/package_2022_01_31/operations.rs b/services/mgmt/automation/src/package_2022_01_31/operations.rs index c3ab1bede1..5d6cb72115 100644 --- a/services/mgmt/automation/src/package_2022_01_31/operations.rs +++ b/services/mgmt/automation/src/package_2022_01_31/operations.rs @@ -8828,7 +8828,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8883,7 +8883,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -8945,7 +8945,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9004,7 +9004,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9063,7 +9063,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9128,7 +9128,7 @@ pub mod job { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -9218,7 +9218,7 @@ pub mod job { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9283,7 +9283,7 @@ pub mod job { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -9385,7 +9385,7 @@ pub mod job_stream { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9478,7 +9478,7 @@ pub mod job_stream { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9726,7 +9726,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9786,7 +9786,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; @@ -9851,7 +9851,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -9907,7 +9907,7 @@ pub mod software_update_configurations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -10004,7 +10004,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10073,7 +10073,7 @@ pub mod software_update_configuration_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); @@ -10176,7 +10176,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -10245,7 +10245,7 @@ pub mod software_update_configuration_machine_runs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(client_request_id) = &this.client_request_id { - req.insert_header("clientRequestId", client_request_id); + req.insert_header("clientrequestid", client_request_id); } if let Some(filter) = &this.filter { req.url_mut().query_pairs_mut().append_pair("$filter", filter); diff --git a/services/mgmt/batch/src/package_2020_09/operations.rs b/services/mgmt/batch/src/package_2020_09/operations.rs index 308593bfb4..8beee9f967 100644 --- a/services/mgmt/batch/src/package_2020_09/operations.rs +++ b/services/mgmt/batch/src/package_2020_09/operations.rs @@ -2074,10 +2074,10 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2141,7 +2141,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2678,7 +2678,7 @@ pub mod private_endpoint_connection { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3026,10 +3026,10 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3093,7 +3093,7 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/batch/src/package_2021_01/operations.rs b/services/mgmt/batch/src/package_2021_01/operations.rs index e4e0299c0a..9e73eec3a5 100644 --- a/services/mgmt/batch/src/package_2021_01/operations.rs +++ b/services/mgmt/batch/src/package_2021_01/operations.rs @@ -2073,10 +2073,10 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2140,7 +2140,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2677,7 +2677,7 @@ pub mod private_endpoint_connection { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3024,10 +3024,10 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3091,7 +3091,7 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/batch/src/package_2021_06/operations.rs b/services/mgmt/batch/src/package_2021_06/operations.rs index 81c0a9b7e3..690edda780 100644 --- a/services/mgmt/batch/src/package_2021_06/operations.rs +++ b/services/mgmt/batch/src/package_2021_06/operations.rs @@ -2369,10 +2369,10 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2436,7 +2436,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2973,7 +2973,7 @@ pub mod private_endpoint_connection { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3320,10 +3320,10 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3387,7 +3387,7 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/batch/src/package_2022_01/operations.rs b/services/mgmt/batch/src/package_2022_01/operations.rs index 94be5b9973..f13482f4b4 100644 --- a/services/mgmt/batch/src/package_2022_01/operations.rs +++ b/services/mgmt/batch/src/package_2022_01/operations.rs @@ -2529,10 +2529,10 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2596,7 +2596,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3133,7 +3133,7 @@ pub mod private_endpoint_connection { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3480,10 +3480,10 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3547,7 +3547,7 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/batch/src/package_2022_06/operations.rs b/services/mgmt/batch/src/package_2022_06/operations.rs index 8a5b265d24..a8f94f0365 100644 --- a/services/mgmt/batch/src/package_2022_06/operations.rs +++ b/services/mgmt/batch/src/package_2022_06/operations.rs @@ -2529,10 +2529,10 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2596,7 +2596,7 @@ pub mod certificate { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3148,7 +3148,7 @@ pub mod private_endpoint_connection { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3544,10 +3544,10 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3611,7 +3611,7 @@ pub mod pool { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/databox/src/package_2021_03/operations.rs b/services/mgmt/databox/src/package_2021_03/operations.rs index 7f1834d5af..22a1821959 100644 --- a/services/mgmt/databox/src/package_2021_03/operations.rs +++ b/services/mgmt/databox/src/package_2021_03/operations.rs @@ -618,7 +618,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.job_resource_update_parameter)?; diff --git a/services/mgmt/databox/src/package_2021_05/operations.rs b/services/mgmt/databox/src/package_2021_05/operations.rs index 22dbd9ec28..fd043ed9fa 100644 --- a/services/mgmt/databox/src/package_2021_05/operations.rs +++ b/services/mgmt/databox/src/package_2021_05/operations.rs @@ -618,7 +618,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-05-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.job_resource_update_parameter)?; diff --git a/services/mgmt/databox/src/package_2021_08_preview/operations.rs b/services/mgmt/databox/src/package_2021_08_preview/operations.rs index ecdd261086..0e4ebc874a 100644 --- a/services/mgmt/databox/src/package_2021_08_preview/operations.rs +++ b/services/mgmt/databox/src/package_2021_08_preview/operations.rs @@ -683,7 +683,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-08-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.job_resource_update_parameter)?; diff --git a/services/mgmt/databox/src/package_2021_12/operations.rs b/services/mgmt/databox/src/package_2021_12/operations.rs index dc78d09791..c18e13ef7f 100644 --- a/services/mgmt/databox/src/package_2021_12/operations.rs +++ b/services/mgmt/databox/src/package_2021_12/operations.rs @@ -683,7 +683,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.job_resource_update_parameter)?; diff --git a/services/mgmt/databox/src/package_2022_02/operations.rs b/services/mgmt/databox/src/package_2022_02/operations.rs index ab143e23ed..eb4460e9a6 100644 --- a/services/mgmt/databox/src/package_2022_02/operations.rs +++ b/services/mgmt/databox/src/package_2022_02/operations.rs @@ -683,7 +683,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2022-02-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.job_resource_update_parameter)?; diff --git a/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs b/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs index 37bad18533..31af03810d 100644 --- a/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs +++ b/services/mgmt/datafactory/src/package_2017_09_preview/operations.rs @@ -1141,7 +1141,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.integration_runtime)?; @@ -2205,7 +2205,7 @@ pub mod linked_services { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.linked_service)?; @@ -2523,7 +2523,7 @@ pub mod datasets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.dataset)?; @@ -2857,7 +2857,7 @@ pub mod pipelines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.pipeline)?; @@ -3565,7 +3565,7 @@ pub mod triggers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.trigger)?; diff --git a/services/mgmt/datafactory/src/package_2018_06/operations.rs b/services/mgmt/datafactory/src/package_2018_06/operations.rs index d76105ca2e..daeb0c493f 100644 --- a/services/mgmt/datafactory/src/package_2018_06/operations.rs +++ b/services/mgmt/datafactory/src/package_2018_06/operations.rs @@ -580,7 +580,7 @@ pub mod factories { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -643,7 +643,7 @@ pub mod factories { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.factory)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1477,7 +1477,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1540,7 +1540,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.integration_runtime)?; @@ -2855,7 +2855,7 @@ pub mod linked_services { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2918,7 +2918,7 @@ pub mod linked_services { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.linked_service)?; @@ -3182,7 +3182,7 @@ pub mod datasets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3245,7 +3245,7 @@ pub mod datasets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.dataset)?; @@ -3529,7 +3529,7 @@ pub mod pipelines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3592,7 +3592,7 @@ pub mod pipelines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.pipeline)?; @@ -4395,7 +4395,7 @@ pub mod triggers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4458,7 +4458,7 @@ pub mod triggers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.trigger)?; @@ -5103,7 +5103,7 @@ pub mod data_flows { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5166,7 +5166,7 @@ pub mod data_flows { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.data_flow)?; @@ -5869,7 +5869,7 @@ pub mod managed_virtual_networks { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5932,7 +5932,7 @@ pub mod managed_virtual_networks { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.managed_virtual_network)?; @@ -6138,7 +6138,7 @@ pub mod managed_private_endpoints { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6195,7 +6195,7 @@ pub mod managed_private_endpoints { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.managed_private_endpoint)?; @@ -6452,7 +6452,7 @@ pub mod private_endpoint_connection { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6508,7 +6508,7 @@ pub mod private_endpoint_connection { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.private_endpoint_wrapper)?; diff --git a/services/mgmt/dns/src/package_2017_09/operations.rs b/services/mgmt/dns/src/package_2017_09/operations.rs index 8dda56277b..c9557e81d8 100644 --- a/services/mgmt/dns/src/package_2017_09/operations.rs +++ b/services/mgmt/dns/src/package_2017_09/operations.rs @@ -304,10 +304,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -378,7 +378,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -445,7 +445,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -829,10 +829,10 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -902,7 +902,7 @@ pub mod zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/dns/src/package_2017_10/operations.rs b/services/mgmt/dns/src/package_2017_10/operations.rs index 555428cef4..cf37304e1a 100644 --- a/services/mgmt/dns/src/package_2017_10/operations.rs +++ b/services/mgmt/dns/src/package_2017_10/operations.rs @@ -319,10 +319,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -393,7 +393,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -460,7 +460,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-10-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -956,10 +956,10 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1026,7 +1026,7 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1091,7 +1091,7 @@ pub mod zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2017-10-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/dns/src/package_2018_03_preview/operations.rs b/services/mgmt/dns/src/package_2018_03_preview/operations.rs index b6c5576ec0..9a566b6c9b 100644 --- a/services/mgmt/dns/src/package_2018_03_preview/operations.rs +++ b/services/mgmt/dns/src/package_2018_03_preview/operations.rs @@ -319,10 +319,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -393,7 +393,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -460,7 +460,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-03-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -956,10 +956,10 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1026,7 +1026,7 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1091,7 +1091,7 @@ pub mod zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-03-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/dns/src/package_2018_05/operations.rs b/services/mgmt/dns/src/package_2018_05/operations.rs index 68dc724231..c5f432e4b0 100644 --- a/services/mgmt/dns/src/package_2018_05/operations.rs +++ b/services/mgmt/dns/src/package_2018_05/operations.rs @@ -322,10 +322,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -396,7 +396,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -463,7 +463,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-05-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -959,10 +959,10 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1029,7 +1029,7 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1094,7 +1094,7 @@ pub mod zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-05-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs index 2af3ff6dff..664a8f4ce5 100644 --- a/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/dns/src/profile_hybrid_2020_09_01/operations.rs @@ -304,10 +304,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -378,7 +378,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -445,7 +445,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-04-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -829,10 +829,10 @@ pub mod zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -902,7 +902,7 @@ pub mod zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-04-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/dnsresolver/src/package_2020_04_preview/operations.rs b/services/mgmt/dnsresolver/src/package_2020_04_preview/operations.rs index 194bc0f56c..126e7305f3 100644 --- a/services/mgmt/dnsresolver/src/package_2020_04_preview/operations.rs +++ b/services/mgmt/dnsresolver/src/package_2020_04_preview/operations.rs @@ -295,10 +295,10 @@ pub mod dns_resolvers { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -371,7 +371,7 @@ pub mod dns_resolvers { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -437,7 +437,7 @@ pub mod dns_resolvers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -906,10 +906,10 @@ pub mod inbound_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -984,7 +984,7 @@ pub mod inbound_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1052,7 +1052,7 @@ pub mod inbound_endpoints { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1354,10 +1354,10 @@ pub mod outbound_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1432,7 +1432,7 @@ pub mod outbound_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1500,7 +1500,7 @@ pub mod outbound_endpoints { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1809,10 +1809,10 @@ pub mod dns_forwarding_rulesets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1885,7 +1885,7 @@ pub mod dns_forwarding_rulesets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1951,7 +1951,7 @@ pub mod dns_forwarding_rulesets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2412,10 +2412,10 @@ pub mod forwarding_rules { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2484,7 +2484,7 @@ pub mod forwarding_rules { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2549,7 +2549,7 @@ pub mod forwarding_rules { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2836,10 +2836,10 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2907,7 +2907,7 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2968,7 +2968,7 @@ pub mod virtual_network_links { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-04-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs b/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs index 7630544be2..3928fc084f 100644 --- a/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs +++ b/services/mgmt/edgeorder/src/package_2020_12_preview/operations.rs @@ -1187,7 +1187,7 @@ pub mod update_address { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.address_update_parameter)?; @@ -1669,7 +1669,7 @@ pub mod update_order_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-12-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.order_item_update_parameter)?; diff --git a/services/mgmt/edgeorder/src/package_2021_12/operations.rs b/services/mgmt/edgeorder/src/package_2021_12/operations.rs index 821e2b07ac..7fdcb07fb0 100644 --- a/services/mgmt/edgeorder/src/package_2021_12/operations.rs +++ b/services/mgmt/edgeorder/src/package_2021_12/operations.rs @@ -1187,7 +1187,7 @@ pub mod update_address { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.address_update_parameter)?; @@ -1669,7 +1669,7 @@ pub mod update_order_item { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-12-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.order_item_update_parameter)?; diff --git a/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs b/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs index 5988903289..3e0377028f 100644 --- a/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs +++ b/services/mgmt/hybriddatamanager/src/package_2016_06/operations.rs @@ -514,7 +514,7 @@ pub mod data_managers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.data_manager_update_parameter)?; diff --git a/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs b/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs index fc2d1ef245..0ce543d159 100644 --- a/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs +++ b/services/mgmt/hybriddatamanager/src/package_2019_06/operations.rs @@ -514,7 +514,7 @@ pub mod data_managers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.data_manager_update_parameter)?; diff --git a/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs b/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs index 6924626274..c618d38828 100644 --- a/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2020_08_31/operations.rs @@ -622,7 +622,7 @@ pub mod iot_hub_resource { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.iot_hub_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2276,7 +2276,7 @@ pub mod certificates { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2341,7 +2341,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-31-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2387,7 +2387,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-31-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2447,7 +2447,7 @@ pub mod certificates { .append_pair(azure_core::query_param::API_VERSION, "2020-08-31-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_verification_body)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/iothub/src/package_preview_2021_02/operations.rs b/services/mgmt/iothub/src/package_preview_2021_02/operations.rs index 4416f0f7be..abb71108bc 100644 --- a/services/mgmt/iothub/src/package_preview_2021_02/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_02/operations.rs @@ -622,7 +622,7 @@ pub mod iot_hub_resource { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.iot_hub_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2276,7 +2276,7 @@ pub mod certificates { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2341,7 +2341,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-02-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2387,7 +2387,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-02-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2447,7 +2447,7 @@ pub mod certificates { .append_pair(azure_core::query_param::API_VERSION, "2021-02-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_verification_body)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/iothub/src/package_preview_2021_03/operations.rs b/services/mgmt/iothub/src/package_preview_2021_03/operations.rs index 5f5ff27ace..ab083a01c9 100644 --- a/services/mgmt/iothub/src/package_preview_2021_03/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_03/operations.rs @@ -622,7 +622,7 @@ pub mod iot_hub_resource { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.iot_hub_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2276,7 +2276,7 @@ pub mod certificates { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2341,7 +2341,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-03-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2387,7 +2387,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-03-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2447,7 +2447,7 @@ pub mod certificates { .append_pair(azure_core::query_param::API_VERSION, "2021-03-03-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_verification_body)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/iothub/src/package_preview_2021_07_02/operations.rs b/services/mgmt/iothub/src/package_preview_2021_07_02/operations.rs index f6caa9496f..a1d9920908 100644 --- a/services/mgmt/iothub/src/package_preview_2021_07_02/operations.rs +++ b/services/mgmt/iothub/src/package_preview_2021_07_02/operations.rs @@ -622,7 +622,7 @@ pub mod iot_hub_resource { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.iot_hub_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2276,7 +2276,7 @@ pub mod certificates { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2341,7 +2341,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-07-02-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2387,7 +2387,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-07-02-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2447,7 +2447,7 @@ pub mod certificates { .append_pair(azure_core::query_param::API_VERSION, "2021-07-02-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_verification_body)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs b/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs index f2c417553a..c0d772e6b7 100644 --- a/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs +++ b/services/mgmt/iothub/src/profile_hybrid_2020_09_01/operations.rs @@ -614,7 +614,7 @@ pub mod iot_hub_resource { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.iot_hub_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2266,7 +2266,7 @@ pub mod certificates { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_description)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2331,7 +2331,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-07-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2377,7 +2377,7 @@ pub mod certificates { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-07-01-preview"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2437,7 +2437,7 @@ pub mod certificates { .append_pair(azure_core::query_param::API_VERSION, "2019-07-01-preview"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.certificate_verification_body)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/managementgroups/src/package_2019_11/operations.rs b/services/mgmt/managementgroups/src/package_2019_11/operations.rs index 5f49b4b8b6..85d46fbd55 100644 --- a/services/mgmt/managementgroups/src/package_2019_11/operations.rs +++ b/services/mgmt/managementgroups/src/package_2019_11/operations.rs @@ -208,7 +208,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } if let Some(skiptoken) = &this.skiptoken { req.url_mut().query_pairs_mut().append_pair("$skiptoken", skiptoken); @@ -294,7 +294,7 @@ pub mod management_groups { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -356,7 +356,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.create_management_group_request)?; @@ -419,7 +419,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.patch_group_request)?; @@ -481,7 +481,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -652,7 +652,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -706,7 +706,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-11-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1099,7 +1099,7 @@ pub mod entities { req.url_mut().query_pairs_mut().append_pair("groupName", group_name); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/mgmt/managementgroups/src/package_2020_02/operations.rs b/services/mgmt/managementgroups/src/package_2020_02/operations.rs index 3398451b21..d4d267a0a1 100644 --- a/services/mgmt/managementgroups/src/package_2020_02/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_02/operations.rs @@ -211,7 +211,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } if let Some(skiptoken) = &this.skiptoken { req.url_mut().query_pairs_mut().append_pair("$skiptoken", skiptoken); @@ -297,7 +297,7 @@ pub mod management_groups { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -359,7 +359,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.create_management_group_request)?; @@ -422,7 +422,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.patch_group_request)?; @@ -484,7 +484,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -659,7 +659,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -718,7 +718,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-02-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1398,7 +1398,7 @@ pub mod entities { req.url_mut().query_pairs_mut().append_pair("groupName", group_name); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/mgmt/managementgroups/src/package_2020_05/operations.rs b/services/mgmt/managementgroups/src/package_2020_05/operations.rs index bcdf2c2c8d..a9dc0d9562 100644 --- a/services/mgmt/managementgroups/src/package_2020_05/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_05/operations.rs @@ -211,7 +211,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } if let Some(skiptoken) = &this.skiptoken { req.url_mut().query_pairs_mut().append_pair("$skiptoken", skiptoken); @@ -297,7 +297,7 @@ pub mod management_groups { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -359,7 +359,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.create_management_group_request)?; @@ -422,7 +422,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.patch_group_request)?; @@ -484,7 +484,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -673,7 +673,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -731,7 +731,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -793,7 +793,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1555,7 +1555,7 @@ pub mod entities { req.url_mut().query_pairs_mut().append_pair("groupName", group_name); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/mgmt/managementgroups/src/package_2020_10/operations.rs b/services/mgmt/managementgroups/src/package_2020_10/operations.rs index e1d773ceb2..7580fd0764 100644 --- a/services/mgmt/managementgroups/src/package_2020_10/operations.rs +++ b/services/mgmt/managementgroups/src/package_2020_10/operations.rs @@ -211,7 +211,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } if let Some(skiptoken) = &this.skiptoken { req.url_mut().query_pairs_mut().append_pair("$skiptoken", skiptoken); @@ -297,7 +297,7 @@ pub mod management_groups { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -359,7 +359,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.create_management_group_request)?; @@ -422,7 +422,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.patch_group_request)?; @@ -484,7 +484,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -673,7 +673,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -731,7 +731,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -793,7 +793,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-10-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1555,7 +1555,7 @@ pub mod entities { req.url_mut().query_pairs_mut().append_pair("groupName", group_name); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/mgmt/managementgroups/src/package_2021_04/operations.rs b/services/mgmt/managementgroups/src/package_2021_04/operations.rs index 5408769dd7..f459b2e98d 100644 --- a/services/mgmt/managementgroups/src/package_2021_04/operations.rs +++ b/services/mgmt/managementgroups/src/package_2021_04/operations.rs @@ -211,7 +211,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } if let Some(skiptoken) = &this.skiptoken { req.url_mut().query_pairs_mut().append_pair("$skiptoken", skiptoken); @@ -297,7 +297,7 @@ pub mod management_groups { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -359,7 +359,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.create_management_group_request)?; @@ -422,7 +422,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.patch_group_request)?; @@ -484,7 +484,7 @@ pub mod management_groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -673,7 +673,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -731,7 +731,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -793,7 +793,7 @@ pub mod management_group_subscriptions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1555,7 +1555,7 @@ pub mod entities { req.url_mut().query_pairs_mut().append_pair("groupName", group_name); } if let Some(cache_control) = &this.cache_control { - req.insert_header("Cache-Control", cache_control); + req.insert_header("cache-control", cache_control); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/mgmt/migrate/src/package_2018_02/operations.rs b/services/mgmt/migrate/src/package_2018_02/operations.rs index 9a0c6dc8ec..7b01498ece 100644 --- a/services/mgmt/migrate/src/package_2018_02/operations.rs +++ b/services/mgmt/migrate/src/package_2018_02/operations.rs @@ -220,7 +220,7 @@ pub mod assessment_options { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -381,7 +381,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -440,7 +440,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -500,7 +500,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -569,7 +569,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = if let Some(project) = &this.project { req.insert_header("content-type", "application/json"); @@ -644,7 +644,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = if let Some(project) = &this.project { req.insert_header("content-type", "application/json"); @@ -709,7 +709,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -765,7 +765,7 @@ pub mod projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -865,7 +865,7 @@ pub mod machines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -927,7 +927,7 @@ pub mod machines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1061,7 +1061,7 @@ pub mod groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1123,7 +1123,7 @@ pub mod groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1194,7 +1194,7 @@ pub mod groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = if let Some(group) = &this.group { req.insert_header("content-type", "application/json"); @@ -1266,7 +1266,7 @@ pub mod groups { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1440,7 +1440,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1501,7 +1501,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1565,7 +1565,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1638,7 +1638,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = if let Some(assessment) = &this.assessment { req.insert_header("content-type", "application/json"); @@ -1712,7 +1712,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1764,7 +1764,7 @@ pub mod assessments { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -1868,7 +1868,7 @@ pub mod assessed_machines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1925,7 +1925,7 @@ pub mod assessed_machines { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-02-02"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/migrateprojects/src/package_2018_09/operations.rs b/services/mgmt/migrateprojects/src/package_2018_09/operations.rs index ab4c4bcc8d..f9eaec273d 100644 --- a/services/mgmt/migrateprojects/src/package_2018_09/operations.rs +++ b/services/mgmt/migrateprojects/src/package_2018_09/operations.rs @@ -189,7 +189,7 @@ pub mod database_instances { req.url_mut().query_pairs_mut().append_pair("pageSize", &page_size.to_string()); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -251,7 +251,7 @@ pub mod database_instances { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01-preview"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -367,7 +367,7 @@ pub mod databases { req.url_mut().query_pairs_mut().append_pair("pageSize", &page_size.to_string()); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -429,7 +429,7 @@ pub mod databases { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01-preview"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -560,7 +560,7 @@ pub mod events { req.url_mut().query_pairs_mut().append_pair("pageSize", &page_size.to_string()); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1045,7 +1045,7 @@ pub mod migrate_projects { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1112,7 +1112,7 @@ pub mod migrate_projects { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1171,7 +1171,7 @@ pub mod migrate_projects { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01-preview"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1230,7 +1230,7 @@ pub mod migrate_projects { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1641,7 +1641,7 @@ pub mod solutions { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01-preview"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/privatedns/src/package_2018_09/operations.rs b/services/mgmt/privatedns/src/package_2018_09/operations.rs index 87b8b5adc0..f93cbc6a3a 100644 --- a/services/mgmt/privatedns/src/package_2018_09/operations.rs +++ b/services/mgmt/privatedns/src/package_2018_09/operations.rs @@ -272,10 +272,10 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -348,7 +348,7 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -414,7 +414,7 @@ pub mod private_zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -796,10 +796,10 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -874,7 +874,7 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -942,7 +942,7 @@ pub mod virtual_network_links { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1272,10 +1272,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1346,7 +1346,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1413,7 +1413,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2018-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/privatedns/src/package_2020_01/operations.rs b/services/mgmt/privatedns/src/package_2020_01/operations.rs index 505f4aadb6..6d7d46ba88 100644 --- a/services/mgmt/privatedns/src/package_2020_01/operations.rs +++ b/services/mgmt/privatedns/src/package_2020_01/operations.rs @@ -272,10 +272,10 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -348,7 +348,7 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -414,7 +414,7 @@ pub mod private_zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-01-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -796,10 +796,10 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -874,7 +874,7 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -942,7 +942,7 @@ pub mod virtual_network_links { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-01-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1272,10 +1272,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1346,7 +1346,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1413,7 +1413,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-01-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/privatedns/src/package_2020_06/operations.rs b/services/mgmt/privatedns/src/package_2020_06/operations.rs index 6b85f6e46a..33783096c7 100644 --- a/services/mgmt/privatedns/src/package_2020_06/operations.rs +++ b/services/mgmt/privatedns/src/package_2020_06/operations.rs @@ -272,10 +272,10 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -348,7 +348,7 @@ pub mod private_zones { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -414,7 +414,7 @@ pub mod private_zones { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -796,10 +796,10 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -874,7 +874,7 @@ pub mod virtual_network_links { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -942,7 +942,7 @@ pub mod virtual_network_links { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1272,10 +1272,10 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1346,7 +1346,7 @@ pub mod record_sets { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1413,7 +1413,7 @@ pub mod record_sets { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/storage/src/package_2021_04/operations.rs b/services/mgmt/storage/src/package_2021_04/operations.rs index b39bd752df..fbdc034ba8 100644 --- a/services/mgmt/storage/src/package_2021_04/operations.rs +++ b/services/mgmt/storage/src/package_2021_04/operations.rs @@ -3763,7 +3763,7 @@ pub mod blob_containers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3830,7 +3830,7 @@ pub mod blob_containers { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3880,7 +3880,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3929,7 +3929,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-04-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -3990,7 +3990,7 @@ pub mod blob_containers { } else { azure_core::EMPTY_BODY }; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/storage/src/package_2021_06/operations.rs b/services/mgmt/storage/src/package_2021_06/operations.rs index cf2be57713..1cda9e516a 100644 --- a/services/mgmt/storage/src/package_2021_06/operations.rs +++ b/services/mgmt/storage/src/package_2021_06/operations.rs @@ -3904,7 +3904,7 @@ pub mod blob_containers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3971,7 +3971,7 @@ pub mod blob_containers { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4021,7 +4021,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4070,7 +4070,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -4131,7 +4131,7 @@ pub mod blob_containers { } else { azure_core::EMPTY_BODY }; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/storage/src/package_2021_08/operations.rs b/services/mgmt/storage/src/package_2021_08/operations.rs index 10ca021bcc..d355490bec 100644 --- a/services/mgmt/storage/src/package_2021_08/operations.rs +++ b/services/mgmt/storage/src/package_2021_08/operations.rs @@ -4324,7 +4324,7 @@ pub mod blob_containers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-08-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4391,7 +4391,7 @@ pub mod blob_containers { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4441,7 +4441,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-08-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4490,7 +4490,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-08-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -4551,7 +4551,7 @@ pub mod blob_containers { } else { azure_core::EMPTY_BODY }; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/storage/src/package_2021_09/operations.rs b/services/mgmt/storage/src/package_2021_09/operations.rs index 8cc0a01014..ecffb9180f 100644 --- a/services/mgmt/storage/src/package_2021_09/operations.rs +++ b/services/mgmt/storage/src/package_2021_09/operations.rs @@ -4324,7 +4324,7 @@ pub mod blob_containers { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-09-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4391,7 +4391,7 @@ pub mod blob_containers { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4441,7 +4441,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-09-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4490,7 +4490,7 @@ pub mod blob_containers { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-09-01"); - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -4551,7 +4551,7 @@ pub mod blob_containers { } else { azure_core::EMPTY_BODY }; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/storageimportexport/src/package_2016_11/operations.rs b/services/mgmt/storageimportexport/src/package_2016_11/operations.rs index 9115a064bd..b2d0515de4 100644 --- a/services/mgmt/storageimportexport/src/package_2016_11/operations.rs +++ b/services/mgmt/storageimportexport/src/package_2016_11/operations.rs @@ -136,7 +136,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -192,7 +192,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -377,7 +377,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -477,7 +477,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -540,7 +540,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -610,7 +610,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } if let Some(x_ms_client_tenant_id) = &this.x_ms_client_tenant_id { req.insert_header("x-ms-client-tenant-id", x_ms_client_tenant_id); @@ -680,7 +680,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; @@ -741,7 +741,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -818,7 +818,7 @@ pub mod bit_locker_keys { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -884,7 +884,7 @@ pub mod operations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2016-11-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/storageimportexport/src/package_2020_08/operations.rs b/services/mgmt/storageimportexport/src/package_2020_08/operations.rs index 441481fd1f..9195f59588 100644 --- a/services/mgmt/storageimportexport/src/package_2020_08/operations.rs +++ b/services/mgmt/storageimportexport/src/package_2020_08/operations.rs @@ -136,7 +136,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -192,7 +192,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -377,7 +377,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -477,7 +477,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -540,7 +540,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -610,7 +610,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } if let Some(x_ms_client_tenant_id) = &this.x_ms_client_tenant_id { req.insert_header("x-ms-client-tenant-id", x_ms_client_tenant_id); @@ -680,7 +680,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; @@ -741,7 +741,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -818,7 +818,7 @@ pub mod bit_locker_keys { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -884,7 +884,7 @@ pub mod operations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-08-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs b/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs index d0d9ffa708..b2724fc07f 100644 --- a/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs +++ b/services/mgmt/storageimportexport/src/package_preview_2021_01/operations.rs @@ -136,7 +136,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -192,7 +192,7 @@ pub mod locations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -377,7 +377,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -477,7 +477,7 @@ pub mod jobs { req.url_mut().query_pairs_mut().append_pair("$filter", filter); } if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -540,7 +540,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -610,7 +610,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } if let Some(x_ms_client_tenant_id) = &this.x_ms_client_tenant_id { req.insert_header("x-ms-client-tenant-id", x_ms_client_tenant_id); @@ -680,7 +680,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; @@ -741,7 +741,7 @@ pub mod jobs { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -818,7 +818,7 @@ pub mod bit_locker_keys { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -884,7 +884,7 @@ pub mod operations { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); if let Some(accept_language) = &this.accept_language { - req.insert_header("Accept-Language", accept_language); + req.insert_header("accept-language", accept_language); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/mgmt/storsimple1200series/src/package_2016_10/operations.rs b/services/mgmt/storsimple1200series/src/package_2016_10/operations.rs index 57aaf55741..174c53da41 100644 --- a/services/mgmt/storsimple1200series/src/package_2016_10/operations.rs +++ b/services/mgmt/storsimple1200series/src/package_2016_10/operations.rs @@ -880,7 +880,7 @@ pub mod managers { .append_pair(azure_core::query_param::API_VERSION, "2016-10-01"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.manager_extended_info)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs b/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs index b3ba458622..9d3d8c919e 100644 --- a/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs +++ b/services/mgmt/storsimple8000series/src/package_2017_06/operations.rs @@ -993,7 +993,7 @@ pub mod managers { .append_pair(azure_core::query_param::API_VERSION, "2017-06-01"); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); req.set_body(req_body); let rsp = this.client.send(&mut req).await?; let (rsp_status, rsp_headers, rsp_stream) = rsp.deconstruct(); diff --git a/services/mgmt/streamanalytics/src/package_2021_10_preview/operations.rs b/services/mgmt/streamanalytics/src/package_2021_10_preview/operations.rs index 17a8a9c862..ce5eef7df5 100644 --- a/services/mgmt/streamanalytics/src/package_2021_10_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_2021_10_preview/operations.rs @@ -326,10 +326,10 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -398,7 +398,7 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -901,10 +901,10 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -973,7 +973,7 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1414,10 +1414,10 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1486,7 +1486,7 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2036,10 +2036,10 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2106,7 +2106,7 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2691,10 +2691,10 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2763,7 +2763,7 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3379,10 +3379,10 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3454,7 +3454,7 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3935,10 +3935,10 @@ pub mod private_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.private_endpoint)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs index 42c51a3183..e6c0a228c8 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2016_03/operations.rs @@ -399,10 +399,10 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -469,7 +469,7 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1040,10 +1040,10 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1112,7 +1112,7 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1508,10 +1508,10 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1580,7 +1580,7 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1810,10 +1810,10 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1882,7 +1882,7 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2339,10 +2339,10 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2411,7 +2411,7 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs index df43ef2365..8dc850089e 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2017_04_preview/operations.rs @@ -320,10 +320,10 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -392,7 +392,7 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -895,10 +895,10 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -967,7 +967,7 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1408,10 +1408,10 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1480,7 +1480,7 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1935,10 +1935,10 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2005,7 +2005,7 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2531,10 +2531,10 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2603,7 +2603,7 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs index 7896899176..2aaef24876 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2020_03/operations.rs @@ -419,10 +419,10 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -489,7 +489,7 @@ pub mod streaming_jobs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.streaming_job)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1119,10 +1119,10 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1191,7 +1191,7 @@ pub mod inputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.input)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1587,10 +1587,10 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1659,7 +1659,7 @@ pub mod transformations { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.transformation)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1889,10 +1889,10 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1961,7 +1961,7 @@ pub mod outputs { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.output)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2418,10 +2418,10 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2490,7 +2490,7 @@ pub mod functions { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.function)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3045,10 +3045,10 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3120,7 +3120,7 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3601,10 +3601,10 @@ pub mod private_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.private_endpoint)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs b/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs index 48376453c7..a68e13633f 100644 --- a/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs +++ b/services/mgmt/streamanalytics/src/package_pure_2020_03_preview/operations.rs @@ -278,10 +278,10 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -353,7 +353,7 @@ pub mod clusters { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.cluster)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -834,10 +834,10 @@ pub mod private_endpoints { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.private_endpoint)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/synapse/src/package_composite_v1/operations.rs b/services/mgmt/synapse/src/package_composite_v1/operations.rs index b09e06410b..957bb20227 100644 --- a/services/mgmt/synapse/src/package_composite_v1/operations.rs +++ b/services/mgmt/synapse/src/package_composite_v1/operations.rs @@ -12887,7 +12887,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -12955,7 +12955,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.integration_runtime)?; diff --git a/services/mgmt/synapse/src/package_composite_v2/operations.rs b/services/mgmt/synapse/src/package_composite_v2/operations.rs index 95cfe72245..971e17c9ff 100644 --- a/services/mgmt/synapse/src/package_composite_v2/operations.rs +++ b/services/mgmt/synapse/src/package_composite_v2/operations.rs @@ -12911,7 +12911,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -12979,7 +12979,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.integration_runtime)?; @@ -15095,10 +15095,10 @@ pub mod kusto_pools { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -15172,7 +15172,7 @@ pub mod kusto_pools { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs b/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs index f70e296860..0c47aeb10a 100644 --- a/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs +++ b/services/mgmt/synapse/src/package_kusto_pool_2021_04_preview/operations.rs @@ -430,10 +430,10 @@ pub mod kusto_pools { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -507,7 +507,7 @@ pub mod kusto_pools { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.parameters)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/synapse/src/package_preview_2021_06/operations.rs b/services/mgmt/synapse/src/package_preview_2021_06/operations.rs index 475540649a..bf13d39687 100644 --- a/services/mgmt/synapse/src/package_preview_2021_06/operations.rs +++ b/services/mgmt/synapse/src/package_preview_2021_06/operations.rs @@ -1572,7 +1572,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1640,7 +1640,7 @@ pub mod integration_runtimes { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.integration_runtime)?; diff --git a/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs b/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs index af1e6a20fe..62da41e1e0 100644 --- a/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs +++ b/services/mgmt/vmwarecloudsimple/src/package_2019_04_01/operations.rs @@ -243,7 +243,7 @@ pub mod operations { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -644,7 +644,7 @@ pub mod dedicated_cloud_nodes { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.dedicated_cloud_node_request)?; req.set_body(req_body); @@ -2694,7 +2694,7 @@ pub mod virtual_machines { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.virtual_machine_request)?; req.set_body(req_body); @@ -2814,7 +2814,7 @@ pub mod virtual_machines { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2870,7 +2870,7 @@ pub mod virtual_machines { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); req.set_body(req_body); @@ -2937,7 +2937,7 @@ pub mod virtual_machines { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2019-04-01"); - req.insert_header("Referer", &this.referer); + req.insert_header("referer", &this.referer); let req_body = if let Some(m) = &this.m { req.insert_header("content-type", "application/json"); azure_core::to_json(m)? diff --git a/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs b/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs index 6b6d13cfb1..b9a76c0f44 100644 --- a/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs +++ b/services/mgmt/windowsiot/src/package_2018_02_preview/operations.rs @@ -346,7 +346,7 @@ pub mod services { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.device_service)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -408,7 +408,7 @@ pub mod services { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.device_service)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/mgmt/windowsiot/src/package_2019_06/operations.rs b/services/mgmt/windowsiot/src/package_2019_06/operations.rs index 104f4ad851..ee5bb7edc6 100644 --- a/services/mgmt/windowsiot/src/package_2019_06/operations.rs +++ b/services/mgmt/windowsiot/src/package_2019_06/operations.rs @@ -350,7 +350,7 @@ pub mod services { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.device_service)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -417,7 +417,7 @@ pub mod services { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.device_service)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/appconfiguration/src/package_2019_07/operations.rs b/services/svc/appconfiguration/src/package_2019_07/operations.rs index cbac39b0b8..d200bcc2d8 100644 --- a/services/svc/appconfiguration/src/package_2019_07/operations.rs +++ b/services/svc/appconfiguration/src/package_2019_07/operations.rs @@ -307,13 +307,13 @@ pub mod get_keys { req.url_mut().query_pairs_mut().append_pair("name", name); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -385,13 +385,13 @@ pub mod check_keys { req.url_mut().query_pairs_mut().append_pair("name", name); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -492,13 +492,13 @@ pub mod get_key_values { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -583,13 +583,13 @@ pub mod check_key_values { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -665,16 +665,16 @@ pub mod get_key_value { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -755,13 +755,13 @@ pub mod put_key_value { azure_core::EMPTY_BODY }; if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -829,10 +829,10 @@ pub mod delete_key_value { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -913,16 +913,16 @@ pub mod check_key_value { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1015,13 +1015,13 @@ pub mod get_labels { req.url_mut().query_pairs_mut().append_pair("name", name); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1098,13 +1098,13 @@ pub mod check_labels { req.url_mut().query_pairs_mut().append_pair("name", name); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1170,13 +1170,13 @@ pub mod put_lock { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1246,13 +1246,13 @@ pub mod delete_lock { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1357,13 +1357,13 @@ pub mod get_revisions { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1448,13 +1448,13 @@ pub mod check_revisions { req.url_mut().query_pairs_mut().append_pair("label", label); } if let Some(sync_token) = &this.sync_token { - req.insert_header("Sync-Token", sync_token); + req.insert_header("sync-token", sync_token); } if let Some(after) = &this.after { req.url_mut().query_pairs_mut().append_pair("After", after); } if let Some(accept_datetime) = &this.accept_datetime { - req.insert_header("Accept-Datetime", accept_datetime); + req.insert_header("accept-datetime", accept_datetime); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/svc/batch/src/package_2019_08_10_0/operations.rs b/services/svc/batch/src/package_2019_08_10_0/operations.rs index bb0867550f..ae732912f2 100644 --- a/services/svc/batch/src/package_2019_08_10_0/operations.rs +++ b/services/svc/batch/src/package_2019_08_10_0/operations.rs @@ -1051,16 +1051,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1162,16 +1162,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1265,16 +1265,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1369,16 +1369,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1549,16 +1549,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1733,16 +1733,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1836,16 +1836,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -2018,16 +2018,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2674,16 +2674,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2785,16 +2785,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2891,16 +2891,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2994,16 +2994,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3101,16 +3101,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3204,16 +3204,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -3320,16 +3320,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4640,10 +4640,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4828,10 +4828,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4932,10 +4932,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5120,10 +5120,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5660,16 +5660,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5771,16 +5771,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5877,16 +5877,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5980,16 +5980,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6084,16 +6084,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6192,16 +6192,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6298,16 +6298,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6407,16 +6407,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7171,16 +7171,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7284,16 +7284,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7389,16 +7389,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7589,16 +7589,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7700,16 +7700,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/svc/batch/src/package_2020_03_11_0/operations.rs b/services/svc/batch/src/package_2020_03_11_0/operations.rs index ea13e2ef3e..bec95478c5 100644 --- a/services/svc/batch/src/package_2020_03_11_0/operations.rs +++ b/services/svc/batch/src/package_2020_03_11_0/operations.rs @@ -1051,16 +1051,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1162,16 +1162,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1265,16 +1265,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1369,16 +1369,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1549,16 +1549,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1733,16 +1733,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1836,16 +1836,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -2018,16 +2018,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2674,16 +2674,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2785,16 +2785,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2891,16 +2891,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2994,16 +2994,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3101,16 +3101,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3204,16 +3204,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -3320,16 +3320,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4640,10 +4640,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4828,10 +4828,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4932,10 +4932,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5120,10 +5120,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5660,16 +5660,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5771,16 +5771,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5877,16 +5877,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5980,16 +5980,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6084,16 +6084,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6192,16 +6192,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6298,16 +6298,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6407,16 +6407,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7171,16 +7171,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7284,16 +7284,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7389,16 +7389,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7589,16 +7589,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7700,16 +7700,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/svc/batch/src/package_2020_09_12_0/operations.rs b/services/svc/batch/src/package_2020_09_12_0/operations.rs index dbed684d74..7b3fdf2a9b 100644 --- a/services/svc/batch/src/package_2020_09_12_0/operations.rs +++ b/services/svc/batch/src/package_2020_09_12_0/operations.rs @@ -1051,16 +1051,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1162,16 +1162,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1265,16 +1265,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1369,16 +1369,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1549,16 +1549,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1733,16 +1733,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1836,16 +1836,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -2018,16 +2018,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2674,16 +2674,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2785,16 +2785,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2891,16 +2891,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2994,16 +2994,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3101,16 +3101,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3204,16 +3204,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -3320,16 +3320,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4640,10 +4640,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4828,10 +4828,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4932,10 +4932,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5120,10 +5120,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5660,16 +5660,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5771,16 +5771,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5877,16 +5877,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5980,16 +5980,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6084,16 +6084,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6192,16 +6192,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6298,16 +6298,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6407,16 +6407,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7171,16 +7171,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7284,16 +7284,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7389,16 +7389,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7589,16 +7589,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7700,16 +7700,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/svc/batch/src/package_2021_06_14_0/operations.rs b/services/svc/batch/src/package_2021_06_14_0/operations.rs index 3e74f32407..0585fa5324 100644 --- a/services/svc/batch/src/package_2021_06_14_0/operations.rs +++ b/services/svc/batch/src/package_2021_06_14_0/operations.rs @@ -1054,16 +1054,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1165,16 +1165,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1268,16 +1268,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1372,16 +1372,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1552,16 +1552,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1736,16 +1736,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1839,16 +1839,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -2021,16 +2021,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2677,16 +2677,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2788,16 +2788,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2894,16 +2894,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2997,16 +2997,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3104,16 +3104,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3207,16 +3207,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -3323,16 +3323,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4643,10 +4643,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4831,10 +4831,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4935,10 +4935,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5123,10 +5123,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5663,16 +5663,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5774,16 +5774,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5880,16 +5880,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5983,16 +5983,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6087,16 +6087,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6195,16 +6195,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6301,16 +6301,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6410,16 +6410,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7174,16 +7174,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7287,16 +7287,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7392,16 +7392,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7592,16 +7592,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7703,16 +7703,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/svc/batch/src/package_2022_01_15_0/operations.rs b/services/svc/batch/src/package_2022_01_15_0/operations.rs index 2aec9cdf7f..fd8555363a 100644 --- a/services/svc/batch/src/package_2022_01_15_0/operations.rs +++ b/services/svc/batch/src/package_2022_01_15_0/operations.rs @@ -1054,16 +1054,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1165,16 +1165,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1268,16 +1268,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1372,16 +1372,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1552,16 +1552,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1736,16 +1736,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1839,16 +1839,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -2021,16 +2021,16 @@ pub mod pool { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2677,16 +2677,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2788,16 +2788,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2894,16 +2894,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -2997,16 +2997,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3104,16 +3104,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -3207,16 +3207,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -3323,16 +3323,16 @@ pub mod job { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -4643,10 +4643,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4831,10 +4831,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -4935,10 +4935,10 @@ pub mod file { req.insert_header("ocp-range", ocp_range); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5123,10 +5123,10 @@ pub mod file { req.insert_header("ocp-date", ocp_date); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5663,16 +5663,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -5774,16 +5774,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5880,16 +5880,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -5983,16 +5983,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6087,16 +6087,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -6195,16 +6195,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6301,16 +6301,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -6410,16 +6410,16 @@ pub mod job_schedule { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7174,16 +7174,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7287,16 +7287,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -7392,16 +7392,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -7592,16 +7592,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -7703,16 +7703,16 @@ pub mod task { req.insert_header("ocp-date", ocp_date); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); diff --git a/services/svc/blobstorage/src/package_2020_10/operations.rs b/services/svc/blobstorage/src/package_2020_10/operations.rs index cac760f9ab..e318258ef7 100644 --- a/services/svc/blobstorage/src/package_2020_10/operations.rs +++ b/services/svc/blobstorage/src/package_2020_10/operations.rs @@ -597,8 +597,8 @@ pub mod service { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1179,10 +1179,10 @@ pub mod container { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1265,7 +1265,7 @@ pub mod container { req.insert_header("x-ms-meta", x_ms_meta); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1435,10 +1435,10 @@ pub mod container { req.insert_header("x-ms-blob-public-access", x_ms_blob_public_access); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1643,8 +1643,8 @@ pub mod container { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1739,10 +1739,10 @@ pub mod container { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1818,10 +1818,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1897,10 +1897,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1982,10 +1982,10 @@ pub mod container { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2063,10 +2063,10 @@ pub mod container { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -3050,16 +3050,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3192,16 +3192,16 @@ pub mod blob { req.insert_header("x-ms-delete-snapshots", x_ms_delete_snapshots); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3339,16 +3339,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3625,16 +3625,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3723,7 +3723,7 @@ pub mod blob { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_immutability_policy_until_date) = &this.x_ms_immutability_policy_until_date { req.insert_header("x-ms-immutability-policy-until-date", x_ms_immutability_policy_until_date); @@ -3986,16 +3986,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4105,16 +4105,16 @@ pub mod blob { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4210,16 +4210,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4315,16 +4315,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4422,16 +4422,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4533,16 +4533,16 @@ pub mod blob { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4679,16 +4679,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4878,16 +4878,16 @@ pub mod blob { req.insert_header("x-ms-source-if-tags", x_ms_source_if_tags); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5084,16 +5084,16 @@ pub mod blob { req.insert_header("x-ms-source-if-none-match", x_ms_source_if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5486,16 +5486,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5701,7 +5701,7 @@ pub mod blob { req.url_mut().query_pairs_mut().append_pair("versionid", versionid); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6186,7 +6186,7 @@ pub mod page_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_access_tier) = &this.x_ms_access_tier { req.insert_header("x-ms-access-tier", x_ms_access_tier); } @@ -6227,16 +6227,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6401,9 +6401,9 @@ pub mod page_blob { req.insert_header("x-ms-page-write", &this.x_ms_page_write); req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6439,16 +6439,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6583,7 +6583,7 @@ pub mod page_blob { format!("Bearer {}", token_response.token.secret()), ); req.insert_header("x-ms-page-write", &this.x_ms_page_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6615,16 +6615,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6801,7 +6801,7 @@ pub mod page_blob { if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6831,16 +6831,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6997,16 +6997,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7177,16 +7177,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7332,16 +7332,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7448,16 +7448,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7554,16 +7554,16 @@ pub mod page_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7873,7 +7873,7 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -7911,16 +7911,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8072,9 +8072,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -8101,16 +8101,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8292,9 +8292,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -8318,16 +8318,16 @@ pub mod append_blob { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8446,16 +8446,16 @@ pub mod append_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_blob_condition_appendpos) = &this.x_ms_blob_condition_appendpos { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); @@ -8861,9 +8861,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -8904,16 +8904,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9135,9 +9135,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9178,16 +9178,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9318,9 +9318,9 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9472,7 +9472,7 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); req.insert_header("x-ms-copy-source", &this.x_ms_copy_source); if let Some(x_ms_source_range) = &this.x_ms_source_range { req.insert_header("x-ms-source-range", x_ms_source_range); @@ -9806,7 +9806,7 @@ pub mod block_blob { req.insert_header("x-ms-blob-content-md5", x_ms_blob_content_md5); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9836,16 +9836,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); diff --git a/services/svc/blobstorage/src/package_2020_12/operations.rs b/services/svc/blobstorage/src/package_2020_12/operations.rs index 239cf2544d..873bef0a0c 100644 --- a/services/svc/blobstorage/src/package_2020_12/operations.rs +++ b/services/svc/blobstorage/src/package_2020_12/operations.rs @@ -597,8 +597,8 @@ pub mod service { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1179,10 +1179,10 @@ pub mod container { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1265,7 +1265,7 @@ pub mod container { req.insert_header("x-ms-meta", x_ms_meta); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1435,10 +1435,10 @@ pub mod container { req.insert_header("x-ms-blob-public-access", x_ms_blob_public_access); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1643,8 +1643,8 @@ pub mod container { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1739,10 +1739,10 @@ pub mod container { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1818,10 +1818,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1897,10 +1897,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1982,10 +1982,10 @@ pub mod container { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2063,10 +2063,10 @@ pub mod container { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -3051,16 +3051,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3193,16 +3193,16 @@ pub mod blob { req.insert_header("x-ms-delete-snapshots", x_ms_delete_snapshots); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3340,16 +3340,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3626,16 +3626,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3724,7 +3724,7 @@ pub mod blob { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_immutability_policy_until_date) = &this.x_ms_immutability_policy_until_date { req.insert_header("x-ms-immutability-policy-until-date", x_ms_immutability_policy_until_date); @@ -3987,16 +3987,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4106,16 +4106,16 @@ pub mod blob { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4211,16 +4211,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4316,16 +4316,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4423,16 +4423,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4534,16 +4534,16 @@ pub mod blob { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4680,16 +4680,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4879,16 +4879,16 @@ pub mod blob { req.insert_header("x-ms-source-if-tags", x_ms_source_if_tags); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5090,16 +5090,16 @@ pub mod blob { req.insert_header("x-ms-source-if-none-match", x_ms_source_if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5495,16 +5495,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5710,7 +5710,7 @@ pub mod blob { req.url_mut().query_pairs_mut().append_pair("versionid", versionid); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6195,7 +6195,7 @@ pub mod page_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_access_tier) = &this.x_ms_access_tier { req.insert_header("x-ms-access-tier", x_ms_access_tier); } @@ -6236,16 +6236,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6410,9 +6410,9 @@ pub mod page_blob { req.insert_header("x-ms-page-write", &this.x_ms_page_write); req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6448,16 +6448,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6592,7 +6592,7 @@ pub mod page_blob { format!("Bearer {}", token_response.token.secret()), ); req.insert_header("x-ms-page-write", &this.x_ms_page_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6624,16 +6624,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6810,7 +6810,7 @@ pub mod page_blob { if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6840,16 +6840,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7006,16 +7006,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7186,16 +7186,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7341,16 +7341,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7457,16 +7457,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7563,16 +7563,16 @@ pub mod page_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7882,7 +7882,7 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -7920,16 +7920,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8081,9 +8081,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -8110,16 +8110,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8301,9 +8301,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -8327,16 +8327,16 @@ pub mod append_blob { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8455,16 +8455,16 @@ pub mod append_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_blob_condition_appendpos) = &this.x_ms_blob_condition_appendpos { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); @@ -8870,9 +8870,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -8913,16 +8913,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9144,9 +9144,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9187,16 +9187,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9327,9 +9327,9 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9481,7 +9481,7 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); req.insert_header("x-ms-copy-source", &this.x_ms_copy_source); if let Some(x_ms_source_range) = &this.x_ms_source_range { req.insert_header("x-ms-source-range", x_ms_source_range); @@ -9815,7 +9815,7 @@ pub mod block_blob { req.insert_header("x-ms-blob-content-md5", x_ms_blob_content_md5); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9845,16 +9845,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); diff --git a/services/svc/blobstorage/src/package_2021_02/operations.rs b/services/svc/blobstorage/src/package_2021_02/operations.rs index 239cf2544d..873bef0a0c 100644 --- a/services/svc/blobstorage/src/package_2021_02/operations.rs +++ b/services/svc/blobstorage/src/package_2021_02/operations.rs @@ -597,8 +597,8 @@ pub mod service { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1179,10 +1179,10 @@ pub mod container { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1265,7 +1265,7 @@ pub mod container { req.insert_header("x-ms-meta", x_ms_meta); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1435,10 +1435,10 @@ pub mod container { req.insert_header("x-ms-blob-public-access", x_ms_blob_public_access); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1643,8 +1643,8 @@ pub mod container { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1739,10 +1739,10 @@ pub mod container { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1818,10 +1818,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1897,10 +1897,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1982,10 +1982,10 @@ pub mod container { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2063,10 +2063,10 @@ pub mod container { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -3051,16 +3051,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3193,16 +3193,16 @@ pub mod blob { req.insert_header("x-ms-delete-snapshots", x_ms_delete_snapshots); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3340,16 +3340,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3626,16 +3626,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3724,7 +3724,7 @@ pub mod blob { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_immutability_policy_until_date) = &this.x_ms_immutability_policy_until_date { req.insert_header("x-ms-immutability-policy-until-date", x_ms_immutability_policy_until_date); @@ -3987,16 +3987,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4106,16 +4106,16 @@ pub mod blob { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4211,16 +4211,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4316,16 +4316,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4423,16 +4423,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4534,16 +4534,16 @@ pub mod blob { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4680,16 +4680,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4879,16 +4879,16 @@ pub mod blob { req.insert_header("x-ms-source-if-tags", x_ms_source_if_tags); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5090,16 +5090,16 @@ pub mod blob { req.insert_header("x-ms-source-if-none-match", x_ms_source_if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5495,16 +5495,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5710,7 +5710,7 @@ pub mod blob { req.url_mut().query_pairs_mut().append_pair("versionid", versionid); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6195,7 +6195,7 @@ pub mod page_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_access_tier) = &this.x_ms_access_tier { req.insert_header("x-ms-access-tier", x_ms_access_tier); } @@ -6236,16 +6236,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6410,9 +6410,9 @@ pub mod page_blob { req.insert_header("x-ms-page-write", &this.x_ms_page_write); req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6448,16 +6448,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6592,7 +6592,7 @@ pub mod page_blob { format!("Bearer {}", token_response.token.secret()), ); req.insert_header("x-ms-page-write", &this.x_ms_page_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6624,16 +6624,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6810,7 +6810,7 @@ pub mod page_blob { if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6840,16 +6840,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7006,16 +7006,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7186,16 +7186,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7341,16 +7341,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7457,16 +7457,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7563,16 +7563,16 @@ pub mod page_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7882,7 +7882,7 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -7920,16 +7920,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8081,9 +8081,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -8110,16 +8110,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8301,9 +8301,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -8327,16 +8327,16 @@ pub mod append_blob { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8455,16 +8455,16 @@ pub mod append_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_blob_condition_appendpos) = &this.x_ms_blob_condition_appendpos { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); @@ -8870,9 +8870,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -8913,16 +8913,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9144,9 +9144,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9187,16 +9187,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9327,9 +9327,9 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9481,7 +9481,7 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); req.insert_header("x-ms-copy-source", &this.x_ms_copy_source); if let Some(x_ms_source_range) = &this.x_ms_source_range { req.insert_header("x-ms-source-range", x_ms_source_range); @@ -9815,7 +9815,7 @@ pub mod block_blob { req.insert_header("x-ms-blob-content-md5", x_ms_blob_content_md5); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9845,16 +9845,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); diff --git a/services/svc/blobstorage/src/package_2021_04/operations.rs b/services/svc/blobstorage/src/package_2021_04/operations.rs index 14633fce72..812e6f35df 100644 --- a/services/svc/blobstorage/src/package_2021_04/operations.rs +++ b/services/svc/blobstorage/src/package_2021_04/operations.rs @@ -597,8 +597,8 @@ pub mod service { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1191,10 +1191,10 @@ pub mod container { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1277,7 +1277,7 @@ pub mod container { req.insert_header("x-ms-meta", x_ms_meta); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1447,10 +1447,10 @@ pub mod container { req.insert_header("x-ms-blob-public-access", x_ms_blob_public_access); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1655,8 +1655,8 @@ pub mod container { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1838,10 +1838,10 @@ pub mod container { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1917,10 +1917,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1996,10 +1996,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2081,10 +2081,10 @@ pub mod container { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2162,10 +2162,10 @@ pub mod container { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -3151,16 +3151,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3293,16 +3293,16 @@ pub mod blob { req.insert_header("x-ms-delete-snapshots", x_ms_delete_snapshots); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3440,16 +3440,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3726,16 +3726,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3824,7 +3824,7 @@ pub mod blob { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_immutability_policy_until_date) = &this.x_ms_immutability_policy_until_date { req.insert_header("x-ms-immutability-policy-until-date", x_ms_immutability_policy_until_date); @@ -4087,16 +4087,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4206,16 +4206,16 @@ pub mod blob { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4311,16 +4311,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4416,16 +4416,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4523,16 +4523,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4634,16 +4634,16 @@ pub mod blob { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4780,16 +4780,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4979,16 +4979,16 @@ pub mod blob { req.insert_header("x-ms-source-if-tags", x_ms_source_if_tags); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5195,16 +5195,16 @@ pub mod blob { req.insert_header("x-ms-source-if-none-match", x_ms_source_if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5603,16 +5603,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5818,7 +5818,7 @@ pub mod blob { req.url_mut().query_pairs_mut().append_pair("versionid", versionid); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6303,7 +6303,7 @@ pub mod page_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_access_tier) = &this.x_ms_access_tier { req.insert_header("x-ms-access-tier", x_ms_access_tier); } @@ -6344,16 +6344,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6518,9 +6518,9 @@ pub mod page_blob { req.insert_header("x-ms-page-write", &this.x_ms_page_write); req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6556,16 +6556,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6700,7 +6700,7 @@ pub mod page_blob { format!("Bearer {}", token_response.token.secret()), ); req.insert_header("x-ms-page-write", &this.x_ms_page_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6732,16 +6732,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6918,7 +6918,7 @@ pub mod page_blob { if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6948,16 +6948,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7114,16 +7114,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7294,16 +7294,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7449,16 +7449,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7565,16 +7565,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7671,16 +7671,16 @@ pub mod page_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7990,7 +7990,7 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -8028,16 +8028,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8189,9 +8189,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -8218,16 +8218,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8409,9 +8409,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -8435,16 +8435,16 @@ pub mod append_blob { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8563,16 +8563,16 @@ pub mod append_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_blob_condition_appendpos) = &this.x_ms_blob_condition_appendpos { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); @@ -8979,9 +8979,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9022,16 +9022,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9258,9 +9258,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9301,16 +9301,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9444,9 +9444,9 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9598,7 +9598,7 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); req.insert_header("x-ms-copy-source", &this.x_ms_copy_source); if let Some(x_ms_source_range) = &this.x_ms_source_range { req.insert_header("x-ms-source-range", x_ms_source_range); @@ -9932,7 +9932,7 @@ pub mod block_blob { req.insert_header("x-ms-blob-content-md5", x_ms_blob_content_md5); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9962,16 +9962,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); diff --git a/services/svc/blobstorage/src/package_2021_08/operations.rs b/services/svc/blobstorage/src/package_2021_08/operations.rs index c146bc1ed9..5ceaed4cf2 100644 --- a/services/svc/blobstorage/src/package_2021_08/operations.rs +++ b/services/svc/blobstorage/src/package_2021_08/operations.rs @@ -598,8 +598,8 @@ pub mod service { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1198,10 +1198,10 @@ pub mod container { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1284,7 +1284,7 @@ pub mod container { req.insert_header("x-ms-meta", x_ms_meta); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1454,10 +1454,10 @@ pub mod container { req.insert_header("x-ms-blob-public-access", x_ms_blob_public_access); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1662,8 +1662,8 @@ pub mod container { format!("Bearer {}", token_response.token.secret()), ); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Content-Type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("content-type", &this.content_type); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -1850,10 +1850,10 @@ pub mod container { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -1929,10 +1929,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2008,10 +2008,10 @@ pub mod container { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2093,10 +2093,10 @@ pub mod container { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -2174,10 +2174,10 @@ pub mod container { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { @@ -3163,16 +3163,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3305,16 +3305,16 @@ pub mod blob { req.insert_header("x-ms-delete-snapshots", x_ms_delete_snapshots); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3452,16 +3452,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3738,16 +3738,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -3836,7 +3836,7 @@ pub mod blob { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_immutability_policy_until_date) = &this.x_ms_immutability_policy_until_date { req.insert_header("x-ms-immutability-policy-until-date", x_ms_immutability_policy_until_date); @@ -4099,16 +4099,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4218,16 +4218,16 @@ pub mod blob { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4323,16 +4323,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4428,16 +4428,16 @@ pub mod blob { } req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4535,16 +4535,16 @@ pub mod blob { req.insert_header("x-ms-lease-id", &this.x_ms_lease_id); req.insert_header("x-ms-proposed-lease-id", &this.x_ms_proposed_lease_id); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4646,16 +4646,16 @@ pub mod blob { req.insert_header("x-ms-lease-break-period", &x_ms_lease_break_period.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4792,16 +4792,16 @@ pub mod blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -4991,16 +4991,16 @@ pub mod blob { req.insert_header("x-ms-source-if-tags", x_ms_source_if_tags); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5207,16 +5207,16 @@ pub mod blob { req.insert_header("x-ms-source-if-none-match", x_ms_source_if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5615,16 +5615,16 @@ pub mod blob { req.insert_header("x-ms-encryption-algorithm", x_ms_encryption_algorithm); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -5830,7 +5830,7 @@ pub mod blob { req.url_mut().query_pairs_mut().append_pair("versionid", versionid); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6315,7 +6315,7 @@ pub mod page_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_access_tier) = &this.x_ms_access_tier { req.insert_header("x-ms-access-tier", x_ms_access_tier); } @@ -6356,16 +6356,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6530,9 +6530,9 @@ pub mod page_blob { req.insert_header("x-ms-page-write", &this.x_ms_page_write); req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -6568,16 +6568,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6712,7 +6712,7 @@ pub mod page_blob { format!("Bearer {}", token_response.token.secret()), ); req.insert_header("x-ms-page-write", &this.x_ms_page_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6744,16 +6744,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -6930,7 +6930,7 @@ pub mod page_blob { if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } @@ -6960,16 +6960,16 @@ pub mod page_blob { req.insert_header("x-ms-if-sequence-number-eq", &x_ms_if_sequence_number_eq.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7126,16 +7126,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7306,16 +7306,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7461,16 +7461,16 @@ pub mod page_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7577,16 +7577,16 @@ pub mod page_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -7683,16 +7683,16 @@ pub mod page_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8002,7 +8002,7 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -8040,16 +8040,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8201,9 +8201,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -8230,16 +8230,16 @@ pub mod append_blob { req.insert_header("x-ms-encryption-scope", x_ms_encryption_scope); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8421,9 +8421,9 @@ pub mod append_blob { if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -8447,16 +8447,16 @@ pub mod append_blob { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -8575,16 +8575,16 @@ pub mod append_blob { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_blob_condition_appendpos) = &this.x_ms_blob_condition_appendpos { req.insert_header("x-ms-blob-condition-appendpos", &x_ms_blob_condition_appendpos.to_string()); @@ -8991,9 +8991,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9034,16 +9034,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9270,9 +9270,9 @@ pub mod block_blob { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_blob_content_type) = &this.x_ms_blob_content_type { req.insert_header("x-ms-blob-content-type", x_ms_blob_content_type); } @@ -9313,16 +9313,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); @@ -9456,9 +9456,9 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9610,7 +9610,7 @@ pub mod block_blob { ); let blockid = &this.blockid; req.url_mut().query_pairs_mut().append_pair("blockid", blockid); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); req.insert_header("x-ms-copy-source", &this.x_ms_copy_source); if let Some(x_ms_source_range) = &this.x_ms_source_range { req.insert_header("x-ms-source-range", x_ms_source_range); @@ -9944,7 +9944,7 @@ pub mod block_blob { req.insert_header("x-ms-blob-content-md5", x_ms_blob_content_md5); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); @@ -9974,16 +9974,16 @@ pub mod block_blob { req.insert_header("x-ms-access-tier", x_ms_access_tier); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(x_ms_if_tags) = &this.x_ms_if_tags { req.insert_header("x-ms-if-tags", x_ms_if_tags); diff --git a/services/svc/containerregistry/src/package_2019_08/operations.rs b/services/svc/containerregistry/src/package_2019_08/operations.rs index 8ff045d7de..b3bd9a242b 100644 --- a/services/svc/containerregistry/src/package_2019_08/operations.rs +++ b/services/svc/containerregistry/src/package_2019_08/operations.rs @@ -249,7 +249,7 @@ pub mod blob { azure_core::headers::AUTHORIZATION, format!("Bearer {}", token_response.token.secret()), ); - req.insert_header("Range", &this.range); + req.insert_header("range", &this.range); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -298,7 +298,7 @@ pub mod blob { azure_core::headers::AUTHORIZATION, format!("Bearer {}", token_response.token.secret()), ); - req.insert_header("Range", &this.range); + req.insert_header("range", &this.range); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/cosmosdb/src/package_2019_02/operations.rs b/services/svc/cosmosdb/src/package_2019_02/operations.rs index 6e584f21fe..a50eebc2ed 100644 --- a/services/svc/cosmosdb/src/package_2019_02/operations.rs +++ b/services/svc/cosmosdb/src/package_2019_02/operations.rs @@ -580,7 +580,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -662,14 +662,14 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } req.insert_header("content-type", "application/json;odata=nometadata"); let req_body = azure_core::to_json(&this.table_properties)?; if let Some(prefer) = &this.prefer { - req.insert_header("Prefer", prefer); + req.insert_header("prefer", prefer); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -808,7 +808,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -910,7 +910,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -1003,7 +1003,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -1014,7 +1014,7 @@ pub mod table { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1094,7 +1094,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -1105,7 +1105,7 @@ pub mod table { azure_core::EMPTY_BODY }; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1176,11 +1176,11 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } - req.insert_header("If-Match", &this.if_match); + req.insert_header("if-match", &this.if_match); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1318,7 +1318,7 @@ pub mod table { if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); } - req.insert_header("DataServiceVersion", &this.data_service_version); + req.insert_header("dataserviceversion", &this.data_service_version); if let Some(format) = &this.format { req.url_mut().query_pairs_mut().append_pair("$format", format); } @@ -1329,7 +1329,7 @@ pub mod table { azure_core::EMPTY_BODY }; if let Some(prefer) = &this.prefer { - req.insert_header("Prefer", prefer); + req.insert_header("prefer", prefer); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs b/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs index ef16be76a8..06c0dbcd7a 100644 --- a/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs +++ b/services/svc/deviceprovisioningservices/src/package_2021_10_01/operations.rs @@ -217,7 +217,7 @@ pub mod individual_enrollment { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.enrollment)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -268,7 +268,7 @@ pub mod individual_enrollment { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -572,7 +572,7 @@ pub mod enrollment_group { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.enrollment_group)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -623,7 +623,7 @@ pub mod enrollment_group { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -900,7 +900,7 @@ pub mod device_registration_state { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/svc/deviceupdate/src/package_2020_09_01/operations.rs b/services/svc/deviceupdate/src/package_2020_09_01/operations.rs index b641a4f6ea..018e909f86 100644 --- a/services/svc/deviceupdate/src/package_2020_09_01/operations.rs +++ b/services/svc/deviceupdate/src/package_2020_09_01/operations.rs @@ -793,7 +793,7 @@ pub mod updates { format!("Bearer {}", token_response.token.secret()), ); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1169,7 +1169,7 @@ pub mod updates { format!("Bearer {}", token_response.token.secret()), ); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1304,7 +1304,7 @@ pub mod updates { format!("Bearer {}", token_response.token.secret()), ); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/svc/deviceupdate/src/package_2021_06_01_preview/operations.rs b/services/svc/deviceupdate/src/package_2021_06_01_preview/operations.rs index 2c9a4caac7..fbae5f11ad 100644 --- a/services/svc/deviceupdate/src/package_2021_06_01_preview/operations.rs +++ b/services/svc/deviceupdate/src/package_2021_06_01_preview/operations.rs @@ -1868,7 +1868,7 @@ pub mod device_management { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2518,7 +2518,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2949,7 +2949,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3097,7 +3097,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-06-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/svc/deviceupdate/src/package_2022_07_01_preview/operations.rs b/services/svc/deviceupdate/src/package_2022_07_01_preview/operations.rs index 88c5f7053a..8d5136716f 100644 --- a/services/svc/deviceupdate/src/package_2022_07_01_preview/operations.rs +++ b/services/svc/deviceupdate/src/package_2022_07_01_preview/operations.rs @@ -386,7 +386,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2022-07-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -817,7 +817,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2022-07-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -965,7 +965,7 @@ pub mod device_update { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2022-07-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -3347,7 +3347,7 @@ pub mod device_management { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2022-07-01-preview"); if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); diff --git a/services/svc/digitaltwins/src/package_2020_05_31_preview/operations.rs b/services/svc/digitaltwins/src/package_2020_05_31_preview/operations.rs index 02c81a3da5..95b82f29f4 100644 --- a/services/svc/digitaltwins/src/package_2020_05_31_preview/operations.rs +++ b/services/svc/digitaltwins/src/package_2020_05_31_preview/operations.rs @@ -672,7 +672,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.twin)?; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -731,7 +731,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -779,7 +779,7 @@ pub mod digital_twins { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-31-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -894,7 +894,7 @@ pub mod digital_twins { azure_core::EMPTY_BODY }; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -958,7 +958,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1011,7 +1011,7 @@ pub mod digital_twins { .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2020-05-31-preview"); if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1389,7 +1389,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/digitaltwins/src/package_2020_10_31/operations.rs b/services/svc/digitaltwins/src/package_2020_10_31/operations.rs index 1014b5a36b..8d23f1e6af 100644 --- a/services/svc/digitaltwins/src/package_2020_10_31/operations.rs +++ b/services/svc/digitaltwins/src/package_2020_10_31/operations.rs @@ -864,7 +864,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.twin)?; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -939,7 +939,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1003,7 +1003,7 @@ pub mod digital_twins { req.insert_header("tracestate", tracestate); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1142,7 +1142,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.relationship)?; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1218,7 +1218,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1287,7 +1287,7 @@ pub mod digital_twins { req.insert_header("tracestate", tracestate); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1539,9 +1539,9 @@ pub mod digital_twins { } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.telemetry)?; - req.insert_header("Message-Id", &this.message_id); + req.insert_header("message-id", &this.message_id); if let Some(telemetry_source_time) = &this.telemetry_source_time { - req.insert_header("Telemetry-Source-Time", telemetry_source_time); + req.insert_header("telemetry-source-time", telemetry_source_time); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1613,9 +1613,9 @@ pub mod digital_twins { } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.telemetry)?; - req.insert_header("Message-Id", &this.message_id); + req.insert_header("message-id", &this.message_id); if let Some(telemetry_source_time) = &this.telemetry_source_time { - req.insert_header("Telemetry-Source-Time", telemetry_source_time); + req.insert_header("telemetry-source-time", telemetry_source_time); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1757,7 +1757,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/digitaltwins/src/package_2021_06_30_preview/operations.rs b/services/svc/digitaltwins/src/package_2021_06_30_preview/operations.rs index 7638cf3114..c1db888e2b 100644 --- a/services/svc/digitaltwins/src/package_2021_06_30_preview/operations.rs +++ b/services/svc/digitaltwins/src/package_2021_06_30_preview/operations.rs @@ -864,7 +864,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.twin)?; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -939,7 +939,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1003,7 +1003,7 @@ pub mod digital_twins { req.insert_header("tracestate", tracestate); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1142,7 +1142,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.relationship)?; if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1218,7 +1218,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1287,7 +1287,7 @@ pub mod digital_twins { req.insert_header("tracestate", tracestate); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1539,9 +1539,9 @@ pub mod digital_twins { } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.telemetry)?; - req.insert_header("Message-Id", &this.message_id); + req.insert_header("message-id", &this.message_id); if let Some(telemetry_source_time) = &this.telemetry_source_time { - req.insert_header("Telemetry-Source-Time", telemetry_source_time); + req.insert_header("telemetry-source-time", telemetry_source_time); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1613,9 +1613,9 @@ pub mod digital_twins { } req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.telemetry)?; - req.insert_header("Message-Id", &this.message_id); + req.insert_header("message-id", &this.message_id); if let Some(telemetry_source_time) = &this.telemetry_source_time { - req.insert_header("Telemetry-Source-Time", telemetry_source_time); + req.insert_header("telemetry-source-time", telemetry_source_time); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -1757,7 +1757,7 @@ pub mod digital_twins { req.insert_header("content-type", "application/json-patch+json"); let req_body = azure_core::to_json(&this.patch_document)?; if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/filestorage/src/package_2020_10/operations.rs b/services/svc/filestorage/src/package_2020_10/operations.rs index 525c0031ee..c64cca812c 100644 --- a/services/svc/filestorage/src/package_2020_10/operations.rs +++ b/services/svc/filestorage/src/package_2020_10/operations.rs @@ -3847,9 +3847,9 @@ pub mod file { } req.insert_header("x-ms-range", &this.x_ms_range); req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_lease_id) = &this.x_ms_lease_id { @@ -3948,7 +3948,7 @@ pub mod file { req.insert_header("x-ms-source-range", x_ms_source_range); } req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } diff --git a/services/svc/filestorage/src/package_2021_02/operations.rs b/services/svc/filestorage/src/package_2021_02/operations.rs index 525c0031ee..c64cca812c 100644 --- a/services/svc/filestorage/src/package_2021_02/operations.rs +++ b/services/svc/filestorage/src/package_2021_02/operations.rs @@ -3847,9 +3847,9 @@ pub mod file { } req.insert_header("x-ms-range", &this.x_ms_range); req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_lease_id) = &this.x_ms_lease_id { @@ -3948,7 +3948,7 @@ pub mod file { req.insert_header("x-ms-source-range", x_ms_source_range); } req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } diff --git a/services/svc/filestorage/src/package_2021_04/operations.rs b/services/svc/filestorage/src/package_2021_04/operations.rs index fdaee8d9d9..e3af17245f 100644 --- a/services/svc/filestorage/src/package_2021_04/operations.rs +++ b/services/svc/filestorage/src/package_2021_04/operations.rs @@ -4040,9 +4040,9 @@ pub mod file { } req.insert_header("x-ms-range", &this.x_ms_range); req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_lease_id) = &this.x_ms_lease_id { @@ -4141,7 +4141,7 @@ pub mod file { req.insert_header("x-ms-source-range", x_ms_source_range); } req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } diff --git a/services/svc/filestorage/src/package_2021_06/operations.rs b/services/svc/filestorage/src/package_2021_06/operations.rs index 2cfe0e4bf5..6d9f1ce3ab 100644 --- a/services/svc/filestorage/src/package_2021_06/operations.rs +++ b/services/svc/filestorage/src/package_2021_06/operations.rs @@ -4134,9 +4134,9 @@ pub mod file { } req.insert_header("x-ms-range", &this.x_ms_range); req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(x_ms_lease_id) = &this.x_ms_lease_id { @@ -4243,7 +4243,7 @@ pub mod file { req.insert_header("x-ms-source-range", x_ms_source_range); } req.insert_header("x-ms-write", &this.x_ms_write); - req.insert_header("Content-Length", &this.content_length.to_string()); + req.insert_header("content-length", &this.content_length.to_string()); if let Some(x_ms_source_content_crc64) = &this.x_ms_source_content_crc64 { req.insert_header("x-ms-source-content-crc64", x_ms_source_content_crc64); } diff --git a/services/svc/imds/src/package_2021_01_01/operations.rs b/services/svc/imds/src/package_2021_01_01/operations.rs index 7b6f6b9931..e8909675ca 100644 --- a/services/svc/imds/src/package_2021_01_01/operations.rs +++ b/services/svc/imds/src/package_2021_01_01/operations.rs @@ -119,7 +119,7 @@ pub mod instances { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -185,7 +185,7 @@ pub mod attested { if let Some(nonce) = &this.nonce { req.url_mut().query_pairs_mut().append_pair("nonce", nonce); } - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -280,7 +280,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let resource = &this.resource; req.url_mut().query_pairs_mut().append_pair("resource", resource); if let Some(client_id) = &this.client_id { @@ -342,7 +342,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-01-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/imds/src/package_2021_02_01/operations.rs b/services/svc/imds/src/package_2021_02_01/operations.rs index 9d705834be..48319f25ed 100644 --- a/services/svc/imds/src/package_2021_02_01/operations.rs +++ b/services/svc/imds/src/package_2021_02_01/operations.rs @@ -119,7 +119,7 @@ pub mod instances { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-02-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -185,7 +185,7 @@ pub mod attested { if let Some(nonce) = &this.nonce { req.url_mut().query_pairs_mut().append_pair("nonce", nonce); } - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -280,7 +280,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-02-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let resource = &this.resource; req.url_mut().query_pairs_mut().append_pair("resource", resource); if let Some(client_id) = &this.client_id { @@ -342,7 +342,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-02-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/imds/src/package_2021_03_01/operations.rs b/services/svc/imds/src/package_2021_03_01/operations.rs index 5c033f8dc3..8f77f5ea32 100644 --- a/services/svc/imds/src/package_2021_03_01/operations.rs +++ b/services/svc/imds/src/package_2021_03_01/operations.rs @@ -119,7 +119,7 @@ pub mod instances { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -185,7 +185,7 @@ pub mod attested { if let Some(nonce) = &this.nonce { req.url_mut().query_pairs_mut().append_pair("nonce", nonce); } - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -280,7 +280,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let resource = &this.resource; req.url_mut().query_pairs_mut().append_pair("resource", resource); if let Some(client_id) = &this.client_id { @@ -342,7 +342,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-03-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/imds/src/package_2021_05_01/operations.rs b/services/svc/imds/src/package_2021_05_01/operations.rs index 67d5d9062e..7be8ee85ce 100644 --- a/services/svc/imds/src/package_2021_05_01/operations.rs +++ b/services/svc/imds/src/package_2021_05_01/operations.rs @@ -119,7 +119,7 @@ pub mod instances { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-05-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -185,7 +185,7 @@ pub mod attested { if let Some(nonce) = &this.nonce { req.url_mut().query_pairs_mut().append_pair("nonce", nonce); } - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -280,7 +280,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-05-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let resource = &this.resource; req.url_mut().query_pairs_mut().append_pair("resource", resource); if let Some(client_id) = &this.client_id { @@ -342,7 +342,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-05-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/imds/src/package_2021_10_01/operations.rs b/services/svc/imds/src/package_2021_10_01/operations.rs index c8ba5e2400..517e2ebc26 100644 --- a/services/svc/imds/src/package_2021_10_01/operations.rs +++ b/services/svc/imds/src/package_2021_10_01/operations.rs @@ -119,7 +119,7 @@ pub mod instances { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -185,7 +185,7 @@ pub mod attested { if let Some(nonce) = &this.nonce { req.url_mut().query_pairs_mut().append_pair("nonce", nonce); } - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; @@ -280,7 +280,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let resource = &this.resource; req.url_mut().query_pairs_mut().append_pair("resource", resource); if let Some(client_id) = &this.client_id { @@ -342,7 +342,7 @@ pub mod identity { req.url_mut() .query_pairs_mut() .append_pair(azure_core::query_param::API_VERSION, "2021-10-01"); - req.insert_header("Metadata", &this.metadata); + req.insert_header("metadata", &this.metadata); let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/monitor/src/package_2018_09_preview/operations.rs b/services/svc/monitor/src/package_2018_09_preview/operations.rs index dfefad5832..e2728bcf23 100644 --- a/services/svc/monitor/src/package_2018_09_preview/operations.rs +++ b/services/svc/monitor/src/package_2018_09_preview/operations.rs @@ -145,9 +145,9 @@ pub mod metrics { azure_core::headers::AUTHORIZATION, format!("Bearer {}", token_response.token.secret()), ); - req.insert_header("Content-Type", &this.content_type); - req.insert_header("Content-Length", &this.content_length.to_string()); - req.insert_header("Authorization", &this.authorization); + req.insert_header("content-type", &this.content_type); + req.insert_header("content-length", &this.content_length.to_string()); + req.insert_header("authorization", &this.authorization); let req_body = azure_core::to_json(&this.body)?; req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/operationalinsights/src/v20210519/operations.rs b/services/svc/operationalinsights/src/v20210519/operations.rs index f27cf9dfc6..93d326e3fb 100644 --- a/services/svc/operationalinsights/src/v20210519/operations.rs +++ b/services/svc/operationalinsights/src/v20210519/operations.rs @@ -193,7 +193,7 @@ pub mod query { req.insert_header("content-type", "application/json"); let req_body = azure_core::to_json(&this.body)?; if let Some(prefer) = &this.prefer { - req.insert_header("Prefer", prefer); + req.insert_header("prefer", prefer); } req.set_body(req_body); let rsp = this.client.send(&mut req).await?; diff --git a/services/svc/servicefabric/src/v7_1/operations.rs b/services/svc/servicefabric/src/v7_1/operations.rs index a22ddb924d..8d563adf33 100644 --- a/services/svc/servicefabric/src/v7_1/operations.rs +++ b/services/svc/servicefabric/src/v7_1/operations.rs @@ -11125,7 +11125,7 @@ pub mod upload_file_chunk { .append_pair(azure_core::query_param::API_VERSION, "7.1.0.45"); let session_id = &this.session_id; req.url_mut().query_pairs_mut().append_pair("session-id", session_id); - req.insert_header("Content-Range", &this.content_range); + req.insert_header("content-range", &this.content_range); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } diff --git a/services/svc/servicefabric/src/v7_2/operations.rs b/services/svc/servicefabric/src/v7_2/operations.rs index 3d096482c8..3764bc0ee0 100644 --- a/services/svc/servicefabric/src/v7_2/operations.rs +++ b/services/svc/servicefabric/src/v7_2/operations.rs @@ -11207,7 +11207,7 @@ pub mod upload_file_chunk { .append_pair(azure_core::query_param::API_VERSION, "7.2.0.46"); let session_id = &this.session_id; req.url_mut().query_pairs_mut().append_pair("session-id", session_id); - req.insert_header("Content-Range", &this.content_range); + req.insert_header("content-range", &this.content_range); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } diff --git a/services/svc/servicefabric/src/v8_0/operations.rs b/services/svc/servicefabric/src/v8_0/operations.rs index 1ab6be3650..574fb71fce 100644 --- a/services/svc/servicefabric/src/v8_0/operations.rs +++ b/services/svc/servicefabric/src/v8_0/operations.rs @@ -11491,7 +11491,7 @@ pub mod upload_file_chunk { .append_pair(azure_core::query_param::API_VERSION, "8.0"); let session_id = &this.session_id; req.url_mut().query_pairs_mut().append_pair("session-id", session_id); - req.insert_header("Content-Range", &this.content_range); + req.insert_header("content-range", &this.content_range); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } diff --git a/services/svc/servicefabric/src/v8_1/operations.rs b/services/svc/servicefabric/src/v8_1/operations.rs index 56b9f68f51..e432a1698f 100644 --- a/services/svc/servicefabric/src/v8_1/operations.rs +++ b/services/svc/servicefabric/src/v8_1/operations.rs @@ -11655,7 +11655,7 @@ pub mod upload_file_chunk { .append_pair(azure_core::query_param::API_VERSION, "8.1"); let session_id = &this.session_id; req.url_mut().query_pairs_mut().append_pair("session-id", session_id); - req.insert_header("Content-Range", &this.content_range); + req.insert_header("content-range", &this.content_range); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } diff --git a/services/svc/servicefabric/src/v8_2/operations.rs b/services/svc/servicefabric/src/v8_2/operations.rs index 6bb66407f5..7d5ca003d4 100644 --- a/services/svc/servicefabric/src/v8_2/operations.rs +++ b/services/svc/servicefabric/src/v8_2/operations.rs @@ -11719,7 +11719,7 @@ pub mod upload_file_chunk { .append_pair(azure_core::query_param::API_VERSION, "8.2"); let session_id = &this.session_id; req.url_mut().query_pairs_mut().append_pair("session-id", session_id); - req.insert_header("Content-Range", &this.content_range); + req.insert_header("content-range", &this.content_range); if let Some(timeout) = &this.timeout { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } diff --git a/services/svc/storagedatalake/src/package_2020_06/operations.rs b/services/svc/storagedatalake/src/package_2020_06/operations.rs index 6fc37011bb..d76bdc93f2 100644 --- a/services/svc/storagedatalake/src/package_2020_06/operations.rs +++ b/services/svc/storagedatalake/src/package_2020_06/operations.rs @@ -425,10 +425,10 @@ pub mod file_system { req.insert_header("x-ms-properties", x_ms_properties); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -499,10 +499,10 @@ pub mod file_system { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1180,7 +1180,7 @@ pub mod path { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(range) = &this.range { - req.insert_header("Range", range); + req.insert_header("range", range); } if let Some(x_ms_lease_id) = &this.x_ms_lease_id { req.insert_header("x-ms-lease-id", x_ms_lease_id); @@ -1189,16 +1189,16 @@ pub mod path { req.insert_header("x-ms-range-get-content-md5", &x_ms_range_get_content_md5.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1325,16 +1325,16 @@ pub mod path { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -1548,16 +1548,16 @@ pub mod path { req.insert_header("x-ms-umask", x_ms_umask); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_source_if_match) = &this.x_ms_source_if_match { req.insert_header("x-ms-source-if-match", x_ms_source_if_match); @@ -1774,7 +1774,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -1813,16 +1813,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; @@ -1931,16 +1931,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2043,16 +2043,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2172,16 +2172,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2431,7 +2431,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -2455,16 +2455,16 @@ pub mod path { req.insert_header("x-ms-content-language", x_ms_content_language); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2557,10 +2557,10 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); diff --git a/services/svc/storagedatalake/src/package_2020_10/operations.rs b/services/svc/storagedatalake/src/package_2020_10/operations.rs index d6c2b79d26..26f9d13cd0 100644 --- a/services/svc/storagedatalake/src/package_2020_10/operations.rs +++ b/services/svc/storagedatalake/src/package_2020_10/operations.rs @@ -425,10 +425,10 @@ pub mod file_system { req.insert_header("x-ms-properties", x_ms_properties); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -499,10 +499,10 @@ pub mod file_system { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1207,7 +1207,7 @@ pub mod path { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(range) = &this.range { - req.insert_header("Range", range); + req.insert_header("range", range); } if let Some(x_ms_lease_id) = &this.x_ms_lease_id { req.insert_header("x-ms-lease-id", x_ms_lease_id); @@ -1216,16 +1216,16 @@ pub mod path { req.insert_header("x-ms-range-get-content-md5", &x_ms_range_get_content_md5.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -1361,16 +1361,16 @@ pub mod path { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -1599,16 +1599,16 @@ pub mod path { req.insert_header("x-ms-umask", x_ms_umask); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_source_if_match) = &this.x_ms_source_if_match { req.insert_header("x-ms-source-if-match", x_ms_source_if_match); @@ -1834,7 +1834,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -1873,16 +1873,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; @@ -1991,16 +1991,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2103,16 +2103,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2232,16 +2232,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2506,7 +2506,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -2530,16 +2530,16 @@ pub mod path { req.insert_header("x-ms-content-language", x_ms_content_language); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2656,10 +2656,10 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); diff --git a/services/svc/storagedatalake/src/package_2021_04/operations.rs b/services/svc/storagedatalake/src/package_2021_04/operations.rs index d6c2b79d26..26f9d13cd0 100644 --- a/services/svc/storagedatalake/src/package_2021_04/operations.rs +++ b/services/svc/storagedatalake/src/package_2021_04/operations.rs @@ -425,10 +425,10 @@ pub mod file_system { req.insert_header("x-ms-properties", x_ms_properties); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -499,10 +499,10 @@ pub mod file_system { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1207,7 +1207,7 @@ pub mod path { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(range) = &this.range { - req.insert_header("Range", range); + req.insert_header("range", range); } if let Some(x_ms_lease_id) = &this.x_ms_lease_id { req.insert_header("x-ms-lease-id", x_ms_lease_id); @@ -1216,16 +1216,16 @@ pub mod path { req.insert_header("x-ms-range-get-content-md5", &x_ms_range_get_content_md5.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -1361,16 +1361,16 @@ pub mod path { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -1599,16 +1599,16 @@ pub mod path { req.insert_header("x-ms-umask", x_ms_umask); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_source_if_match) = &this.x_ms_source_if_match { req.insert_header("x-ms-source-if-match", x_ms_source_if_match); @@ -1834,7 +1834,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -1873,16 +1873,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; @@ -1991,16 +1991,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2103,16 +2103,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2232,16 +2232,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2506,7 +2506,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -2530,16 +2530,16 @@ pub mod path { req.insert_header("x-ms-content-language", x_ms_content_language); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2656,10 +2656,10 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64); diff --git a/services/svc/storagedatalake/src/package_2021_06/operations.rs b/services/svc/storagedatalake/src/package_2021_06/operations.rs index d6c2b79d26..26f9d13cd0 100644 --- a/services/svc/storagedatalake/src/package_2021_06/operations.rs +++ b/services/svc/storagedatalake/src/package_2021_06/operations.rs @@ -425,10 +425,10 @@ pub mod file_system { req.insert_header("x-ms-properties", x_ms_properties); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -499,10 +499,10 @@ pub mod file_system { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -1207,7 +1207,7 @@ pub mod path { } req.insert_header("x-ms-version", &this.x_ms_version); if let Some(range) = &this.range { - req.insert_header("Range", range); + req.insert_header("range", range); } if let Some(x_ms_lease_id) = &this.x_ms_lease_id { req.insert_header("x-ms-lease-id", x_ms_lease_id); @@ -1216,16 +1216,16 @@ pub mod path { req.insert_header("x-ms-range-get-content-md5", &x_ms_range_get_content_md5.to_string()); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_encryption_key) = &this.x_ms_encryption_key { req.insert_header("x-ms-encryption-key", x_ms_encryption_key); @@ -1361,16 +1361,16 @@ pub mod path { req.insert_header("x-ms-proposed-lease-id", x_ms_proposed_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.insert_header(azure_core::headers::CONTENT_LENGTH, "0"); @@ -1599,16 +1599,16 @@ pub mod path { req.insert_header("x-ms-umask", x_ms_umask); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_source_if_match) = &this.x_ms_source_if_match { req.insert_header("x-ms-source-if-match", x_ms_source_if_match); @@ -1834,7 +1834,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -1873,16 +1873,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } req.insert_header("content-type", "application/octet-stream"); let req_body = azure_core::to_json(&this.body)?; @@ -1991,16 +1991,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2103,16 +2103,16 @@ pub mod path { req.insert_header("x-ms-lease-id", x_ms_lease_id); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } let req_body = azure_core::EMPTY_BODY; req.set_body(req_body); @@ -2232,16 +2232,16 @@ pub mod path { req.insert_header("x-ms-acl", x_ms_acl); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2506,7 +2506,7 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("close", &close.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(x_ms_content_md5) = &this.x_ms_content_md5 { req.insert_header("x-ms-content-md5", x_ms_content_md5); @@ -2530,16 +2530,16 @@ pub mod path { req.insert_header("x-ms-content-language", x_ms_content_language); } if let Some(if_match) = &this.if_match { - req.insert_header("If-Match", if_match); + req.insert_header("if-match", if_match); } if let Some(if_none_match) = &this.if_none_match { - req.insert_header("If-None-Match", if_none_match); + req.insert_header("if-none-match", if_none_match); } if let Some(if_modified_since) = &this.if_modified_since { - req.insert_header("If-Modified-Since", if_modified_since); + req.insert_header("if-modified-since", if_modified_since); } if let Some(if_unmodified_since) = &this.if_unmodified_since { - req.insert_header("If-Unmodified-Since", if_unmodified_since); + req.insert_header("if-unmodified-since", if_unmodified_since); } if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id { req.insert_header("x-ms-client-request-id", x_ms_client_request_id); @@ -2656,10 +2656,10 @@ pub mod path { req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string()); } if let Some(content_length) = &this.content_length { - req.insert_header("Content-Length", &content_length.to_string()); + req.insert_header("content-length", &content_length.to_string()); } if let Some(content_md5) = &this.content_md5 { - req.insert_header("Content-MD5", content_md5); + req.insert_header("content-md5", content_md5); } if let Some(x_ms_content_crc64) = &this.x_ms_content_crc64 { req.insert_header("x-ms-content-crc64", x_ms_content_crc64);