From 3fd58e9b6da7d9e1a4710dbeefc2d289baea09fb Mon Sep 17 00:00:00 2001 From: Adrian Panella Date: Fri, 21 Jul 2017 14:17:36 -0500 Subject: uhttpd: add manifest support Add "text/cache-manifest" mimetype support to enable the possibility of using Application Cache. Signed-off-by: Adrian Panella --- mimetypes.h | 6 ++++-- 1 file 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 } }; -- cgit v1.2.3