diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-06-18 04:57:59 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-06-18 05:41:04 +0000 |
commit | c5bbc46f87d475b9620d48b81d4143f10447471b (patch) | |
tree | 2b01abbeef8c363c29de3255332440026b2c96e1 | |
parent | 25946f772d1c1d3ff8a4d2c70824654a9c22fc23 (diff) | |
download | pleroma-c5bbc46f87d475b9620d48b81d4143f10447471b.tar.gz |
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.
-rw-r--r-- | config/config.exs | 1 |
1 files changed, 1 insertions, 0 deletions
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"] |