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>
mimetypes: add json and jsonp (distinct from js) .js files are being transferred as text/javascript, which, although obsolete by RFC 4329 is most backward compatible. .json and .jsonp are both transferred as application/octet-stream however, causing warnings on the console for some browsers, even though it works just fine. Add the mimetypes for .json as per RFC 4627 and .jsonp as per RFC4329 (As jsonp _is_ javascript) Signed-off-by: Karl Palsson <karlp@remake.is>
relicense to ISC Signed-off-by: Felix Fietkau <nbd@openwrt.org>
constify mimetype list
rename uhttpd-mimetypes.h to mimetypes.h