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.
This commit is contained in:
William Pitcock 2018-06-18 04:57:59 +00:00
parent 25946f772d
commit c5bbc46f87

View file

@ -26,6 +26,7 @@
metadata: [:request_id] metadata: [:request_id]
config :mime, :types, %{ config :mime, :types, %{
"application/xml" => ["xml"],
"application/xrd+xml" => ["xrd+xml"], "application/xrd+xml" => ["xrd+xml"],
"application/activity+json" => ["activity+json"], "application/activity+json" => ["activity+json"],
"application/ld+json" => ["activity+json"] "application/ld+json" => ["activity+json"]