projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25946f7
)
config: add application/xml mimetype support.
author
William Pitcock
<nenolod@dereferenced.org>
Mon, 18 Jun 2018 04:57:59 +0000
(
04:57
+0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Mon, 18 Jun 2018 05:41:04 +0000
(
05:41
+0000)
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
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index 5e57af87b4927a8549e3723435590b59c8aa29cb..6ff7b30d066178348a436890b08dac2cd6908088 100644
(file)
--- 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"]