소스 검색

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},