From c5bbc46f87d475b9620d48b81d4143f10447471b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 18 Jun 2018 04:57:59 +0000 Subject: [PATCH] config: add application/xml mimetype support. application/xml is the older xml mimetype. some legacy scripts make use of it, as well as common use for debugging with curl and other tools. so it makes sense to have it alongside text/xml. --- config/config.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.exs b/config/config.exs index 5e57af87b..6ff7b30d0 100644 --- a/config/config.exs +++ b/config/config.exs @@ -26,6 +26,7 @@ config :logger, :console, metadata: [:request_id] config :mime, :types, %{ + "application/xml" => ["xml"], "application/xrd+xml" => ["xrd+xml"], "application/activity+json" => ["activity+json"], "application/ld+json" => ["activity+json"] -- 2.45.2