Commit:    e5b1ebc082416330cd6f6b8f457d825aab2674eb
Author:    pascalc <pascal.chev...@free.fr>         Tue, 11 Dec 2012 12:45:00 
+0100
Committer: Lars Strojny <lstro...@php.net>      Fri, 14 Dec 2012 13:59:01 +0100
Parents:   77c4b84ac893a6e4824a58d17475149f6a1c2322
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=e5b1ebc082416330cd6f6b8f457d825aab2674eb

Log:
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

Changed paths:
  M  sapi/cli/php_cli_server.c


Diff:
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index 5f263cb..8cff439 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 }
 };


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to