projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c0b4b
)
uhttpd: add manifest support
author
Adrian Panella
<ianchi74@outlook.com>
Fri, 21 Jul 2017 19:17:36 +0000
(14:17 -0500)
committer
Jo-Philipp Wich
<jo@mein.io>
Sat, 19 Aug 2017 12:51:21 +0000
(14:51 +0200)
Add "text/cache-manifest" mimetype support to enable the possibility of
using Application Cache.
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
mimetypes.h
patch
|
blob
|
history
diff --git
a/mimetypes.h
b/mimetypes.h
index 06514861975d1ac14f744473f3b709310c31aa60..1f5b92ff57e5d2cba132c4c0d87143faa8fadea0 100644
(file)
--- 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 }
};