From 1e908f7737f13120fc0033996f51370c4271ac7d Mon Sep 17 00:00:00 2001 From: mdecimus Date: Thu, 9 May 2024 14:44:01 +0200 Subject: [PATCH] Changed autoconfig mime type to application/xml --- crates/jmap/src/api/autoconfig.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/jmap/src/api/autoconfig.rs b/crates/jmap/src/api/autoconfig.rs index c5409bcb..a384118a 100644 --- a/crates/jmap/src/api/autoconfig.rs +++ b/crates/jmap/src/api/autoconfig.rs @@ -93,7 +93,7 @@ impl JMAP { config.push_str("\n"); Resource { - content_type: "text/xml+autoconfig; charset=utf-8", + content_type: "application/xml; charset=utf-8", contents: config.into_bytes(), } .into_http_response() @@ -176,7 +176,7 @@ impl JMAP { let _ = writeln!(&mut config, ""); Resource { - content_type: "text/xml; charset=utf-8", + content_type: "application/xml; charset=utf-8", contents: config.into_bytes(), } .into_http_response()