summaryrefslogtreecommitdiff
path: root/mimetypes.h
diff options
context:
space:
mode:
authorAdrian Panella <ianchi74@outlook.com>2017-07-21 14:17:36 -0500
committerJo-Philipp Wich <jo@mein.io>2017-08-19 14:51:21 +0200
commit3fd58e9b6da7d9e1a4710dbeefc2d289baea09fb (patch)
treefe57d8e67682914b9c71123c4ba2b848b62fe375 /mimetypes.h
parent88c0b4b6d00152c54a0f1367ae839c71547281e1 (diff)
uhttpd: add manifest support
Add "text/cache-manifest" mimetype support to enable the possibility of using Application Cache. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
Diffstat (limited to 'mimetypes.h')
-rw-r--r--mimetypes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mimetypes.h b/mimetypes.h
index 0651486..1f5b92f 100644
--- a/mimetypes.h
+++ b/mimetypes.h
@@ -84,8 +84,10 @@ static const struct mimetype uh_mime_types[] = {
{ "cfg", "text/plain" },
{ "conf", "text/plain" },
- { "pac", "application/x-ns-proxy-autoconfig" },
- { "wpad.dat", "application/x-ns-proxy-autoconfig" },
+ { "pac", "application/x-ns-proxy-autoconfig" },
+ { "wpad.dat", "application/x-ns-proxy-autoconfig" },
+ { "appcache", "text/cache-manifest" },
+ { "manifest", "text/cache-manifest" },
{ NULL, NULL }
};