From: Adrian Panella Date: Fri, 21 Jul 2017 19:17:36 +0000 (-0500) Subject: uhttpd: add manifest support X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3fd58e9b6da7d9e1a4710dbeefc2d289baea09fb;p=oweals%2Fuhttpd.git uhttpd: add manifest support Add "text/cache-manifest" mimetype support to enable the possibility of using Application Cache. Signed-off-by: Adrian Panella --- 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 } };