On Thu, 31 Oct 2013, Christopher Jones wrote:

> The PHP CLI web server 5.5 currrently supports these MIME types 
> natively:
> 
>       { "html", "text/html" },
>       { "htm", "text/html" },
>       { "js", "text/javascript" },
>       { "css", "text/css" },
>       { "gif", "image/gif" },
>       { "jpg", "image/jpeg" },
>       { "jpeg", "image/jpeg" },
>       { "jpe", "image/jpeg" },
>       { "png", "image/png" },
>       { "svg", "image/svg+xml" },
>       { "txt", "text/plain" },
>       { "webm", "video/webm" },
>       { "ogv", "video/ogg" },
>       { "ogg", "audio/ogg" },
> 
> 
> Final comments anyone, before I commit next week?

Isn't there a reason why you can't use the fileinfo extension/code for 
this instead? Hardcoding it seems rather strange?

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to