uhttpd/file: fix string out of buffer range on uh_defer_script
[project/uhttpd.git] / mimetypes.h
index 06514861975d1ac14f744473f3b709310c31aa60..b01888f2f5459e325cb76012690b63250b0afd9c 100644 (file)
@@ -74,18 +74,23 @@ static const struct mimetype uh_mime_types[] = {
        { "mp3",     "audio/mpeg" },
        { "ogg",     "audio/x-vorbis+ogg" },
        { "wav",     "audio/x-wav" },
+       { "aac",     "audio/aac" },
 
        { "mpg",     "video/mpeg" },
        { "mpeg",    "video/mpeg" },
        { "avi",     "video/x-msvideo" },
+       { "mov",     "video/quicktime" },
+       { "mp4",     "video/mp4" },
 
        { "README",  "text/plain" },
        { "log",     "text/plain" },
        { "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 }
 };