From: William Pitcock Date: Mon, 18 Jun 2018 04:57:59 +0000 (+0000) Subject: config: add application/xml mimetype support. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c5bbc46f87d475b9620d48b81d4143f10447471b;p=akkoma 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. --- 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"]