nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9996099
)
lib/nitcorn: add some media types
author
Alexandre Terrasa
<alexandre@moz-code.org>
Sun, 12 Feb 2017 03:13:18 +0000
(22:13 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Sun, 12 Feb 2017 03:13:18 +0000
(22:13 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/nitcorn/media_types.nit
patch
|
blob
|
history
diff --git
a/lib/nitcorn/media_types.nit
b/lib/nitcorn/media_types.nit
index
305f314
..
49b6daa
100644
(file)
--- a/
lib/nitcorn/media_types.nit
+++ b/
lib/nitcorn/media_types.nit
@@
-37,6
+37,7
@@
class MediaTypes
types["htm"] = "text/html"
types["shtml"] = "text/html"
types["css"] = "text/css"
+ types["csv"] = "text/csv"
types["xml"] = "text/xml"
types["rss"] = "text/xml"
types["gif"] = "image/gif"
@@
-50,6
+51,7
@@
class MediaTypes
types["ico"] = "image/x-icon"
types["jng"] = "image/x-jng"
types["wbmp"] = "image/vnd.wap.wbmp"
+ types["gz"] = "application/gzip"
types["jar"] = "application/java-archive"
types["war"] = "application/java-archive"
types["ear"] = "application/java-archive"