HTTPd: use the RFC5334 MIME types for their respective extensions
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:28:27 +0000 (11:28 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:28:27 +0000 (11:28 +0200)
Currently, we stick to legacy application/ogg for legacy extensions.

src/network/httpd.c

index 96f702c..3859b06 100644 (file)
@@ -225,9 +225,11 @@ static const struct
     { ".mpe",   "video/mpeg" },
     { ".mov",   "video/quicktime" },
     { ".moov",  "video/quicktime" },
+    { ".oga",   "audio/ogg" },
     { ".ogg",   "application/ogg" },
     { ".ogm",   "application/ogg" },
-    { ".ogv",   "application/ogg" },
+    { ".ogv",   "video/ogg" },
+    { ".spx",   "audio/ogg" },
     { ".wav",   "audio/wav" },
     { ".wma",   "audio/x-ms-wma" },
     { ".wmv",   "video/x-ms-wmv" },