[LEDE-DEV] [PATCH] uhttpd: add manifest support

Adrian Panella ianchi74 at outlook.com
Tue Aug 15 19:52:10 PDT 2017


@Jow any comments to get this merged?

Rgds

-----Original Message-----

 From 1acb092818842553c1c1e4d0cfcf4ae8744b732b Mon Sep 17 00:00:00 2001
From: Adrian Panella <ianchi74 at outlook.com>
Date: Fri, 21 Jul 2017 14:17:36 -0500
Subject: [PATCH] uhttpd: add manifest support 

Add "text/cache-manifest" mimetype support to enable the possibility of using Application Cache.
Signed-off-by: Adrian Panella <ianchi74 at outlook.com>
---
mimetypes.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mimetypes.h b/mimetypes.h
index 0651486..f7a3963 100644
---a/mimetypes.h
+++b/mimetypes.h
@@-87,6 +87,9 @@static const struct mimetype uh_mime_types[] = {
    { "pac",        "application/x-ns-proxy-autoconfig" },
    { "wpad.dat",   "application/x-ns-proxy-autoconfig" },
+   { "appcache", "text/cache-manifest" },
+   { "manifest", "text/cache-manifest" },
+
    { NULL, NULL }
};
--
2.7.4


More information about the Lede-dev mailing list