浏览代码

Added .mp4 and .m4v mime types

Sergey Lyubka 14 年之前
父节点
当前提交
bc900844f1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mongoose.c

+ 2 - 0
mongoose.c

@@ -1771,6 +1771,8 @@ static const struct {
   {".swf", 4, "application/x-shockwave-flash",29},
   {".mpg", 4, "video/mpeg",   10},
   {".mpeg", 5, "video/mpeg",   10},
+  {".mp4", 4, "video/mp4", 9},
+  {".m4v", 4, "video/x-m4v", 11},
   {".asf", 4, "video/x-ms-asf",  14},
   {".avi", 4, "video/x-msvideo",  15},
   {".bmp", 4, "image/bmp",   9},