From: pascalc Date: Tue, 11 Dec 2012 11:45:00 +0000 (+0100) Subject: update list of common Mime Types in PHP development server to support Web audio/video... X-Git-Tag: php-5.5.0alpha2~7^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5b1ebc082416330cd6f6b8f457d825aab2674eb;p=php update list of common Mime Types in PHP development server to support Web audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together --- diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 5f263cb322..8cff439392 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -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 } };