]> granicus.if.org Git - php/commitdiff
update list of common Mime Types in PHP development server to support Web audio/video...
authorpascalc <pascal.chevrel@free.fr>
Tue, 11 Dec 2012 11:45:00 +0000 (12:45 +0100)
committerLars Strojny <lstrojny@php.net>
Fri, 14 Dec 2012 12:59:01 +0000 (13:59 +0100)
sapi/cli/php_cli_server.c

index 5f263cb3224ebce0718949c381e77e1b06bf53d8..8cff439392c41be2acf9a2ab59993420b5a5831f 100644 (file)
@@ -259,10 +259,13 @@ static php_cli_server_ext_mime_type_pair mime_type_map[] = {
        { "gif", "image/gif" },
        { "jpg", "image/jpeg" },
        { "jpeg", "image/jpeg" },
-       { "png", "image/png" },
        { "jpe", "image/jpeg" },
+       { "png", "image/png" },
        { "svg", "image/svg+xml" },
        { "txt", "text/plain" },
+       { "webm", "video/webm" },
+       { "ogv", "video/ogg" },
+       { "ogg", "audio/ogg" },
        { NULL, NULL }
 };