Pārlūkot izejas kodu

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.
tags/v0.9.9
William Pitcock pirms 6 gadiem
vecāks
revīzija
c5bbc46f87
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      config/config.exs

+ 1
- 0
config/config.exs Parādīt failu

@@ -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"]


Notiek ielāde…
Atcelt
Saglabāt