aboutsummaryrefslogtreecommitdiffstats
path: root/resources/config/mimetypemapping.dist.json
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-22 13:34:07 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2015-10-02 15:28:23 +0200
commitcd7aff47e163c1213e072af02fbbeafa11cf64e1 (patch)
tree6860549193aeb66ed005d4b3775eda44a1e345d5 /resources/config/mimetypemapping.dist.json
parentaf01c043601c31ba0f7b1f3f173d8bdc6f85295f (diff)
downloadnextcloud-server-cd7aff47e163c1213e072af02fbbeafa11cf64e1.tar.gz
nextcloud-server-cd7aff47e163c1213e072af02fbbeafa11cf64e1.zip
Introduce a few new mimetypes for code
Diffstat (limited to 'resources/config/mimetypemapping.dist.json')
-rw-r--r--resources/config/mimetypemapping.dist.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 79b0ca65240..e7c08871817 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -27,6 +27,7 @@
"cbz": ["application/x-cbr"],
"cc": ["text/x-c"],
"cdr": ["application/coreldraw"],
+ "class": ["application/java"],
"cnf": ["text/plain"],
"conf": ["text/plain"],
"cpp": ["text/x-c++src"],
@@ -35,7 +36,7 @@
"csv": ["text/csv"],
"cvbdl": ["application/x-cbr"],
"c": ["text/x-c"],
- "c++": ["text/x-c++src"],
+ "c++": ["text/x-c"],
"dcr": ["image/x-dcraw"],
"deb": ["application/x-deb"],
"dng": ["image/x-dcraw"],
@@ -57,12 +58,14 @@
"gzip": ["application/x-gzip"],
"h": ["text/x-h"],
"hh": ["text/x-h"],
+ "hpp": ["text/x-h"],
"html": ["text/html", "text/plain"],
"htm": ["text/html", "text/plain"],
"ical": ["text/calendar"],
"ics": ["text/calendar"],
"iiq": ["image/x-dcraw"],
"impress": ["text/impress"],
+ "java": ["text/x-java-source"],
"jpeg": ["image/jpeg"],
"jpg": ["image/jpeg"],
"jps": ["image/jpeg"],
@@ -130,6 +133,8 @@
"raf": ["image/x-dcraw"],
"rar": ["application/x-rar-compressed"],
"reveal": ["text/reveal"],
+ "rss": ["application/rss+xml"],
+ "rtf": ["text/rtf"],
"rw2": ["image/x-dcraw"],
"sgf": ["application/sgf"],
"sh-lib": ["text/x-shellscript"],