From: RĂ©mi Denis-Courmont Date: Sun, 11 Jan 2009 09:28:27 +0000 (+0200) Subject: HTTPd: use the RFC5334 MIME types for their respective extensions X-Git-Tag: 1.0.0-pre1~1400 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4a8a7265472108dc4af5131fbfd540fd1e758bbf;p=vlc HTTPd: use the RFC5334 MIME types for their respective extensions Currently, we stick to legacy application/ogg for legacy extensions. --- diff --git a/src/network/httpd.c b/src/network/httpd.c index 96f702c76b..3859b06f8f 100644 --- a/src/network/httpd.c +++ b/src/network/httpd.c @@ -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" },