Re: [PHP-DEV] Adding new MIME types for the CLI web server

2013-11-01 Thread Andrea Faulds
On 31/10/13 21:32, Derick Rethans wrote: Isn't there a reason why you can't use the fileinfo extension/code for this instead? Hardcoding it seems rather strange? I looked at the manual and mime_content_type() is deprecated and tells me to use the Fileinfo PECL extension. From which I am

Re: [PHP-DEV] Re: [RFC] Use default_charset As Default Character Encoding

2013-11-01 Thread Joe Watkins
On 10/31/2013 09:21 AM, Yasuo Ohgaki wrote: Hi Joe, On Thu, Oct 31, 2013 at 6:07 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: On Thu, Oct 31, 2013 at 5:31 PM, Joe Watkins krak...@php.net wrote: How could you override them ?? It's in PoC patch. I made it while 5.5 was in beta, but it would

[PHP-DEV] Re: RFC: Expectations

2013-11-01 Thread Joe Watkins
On 10/18/2013 10:46 PM, Joe Watkins wrote: Evening Chaps, Following on from discussion regarding assertion API in PHP, the following RFC is now up for discussion: https://wiki.php.net/rfc/expectations Please do point out any missing sections or information, so that it can be

Re: [PHP-DEV] Adding new MIME types for the CLI web server

2013-11-01 Thread Stas Malyshev
Hi! Final comments anyone, before I commit next week? It looks strange that we have to hardcode so many mimetypes in the code, and doesn't sound a scalable solution. Can't we make it use data from fileinfo or some other customizeable table so we don't have to keep all MIME types hardcoded in

Re: [PHP-DEV] Cleanup of old remote branches

2013-11-01 Thread rparker
On 2013-10-30 21:15, Yasuo Ohgaki wrote: Hi all, On Thu, Oct 31, 2013 at 1:58 AM, Adam Harvey ahar...@php.net wrote: On 29 October 2013 03:56, Julien Pauli jpa...@php.net wrote: Could we make a list of the remote branches we really don't need anymore, and clean them up ? Also -1 here.

Re: [PHP-DEV] Re: [RFC] Use default_charset As Default Character Encoding

2013-11-01 Thread Joe Watkins
On 10/31/2013 08:28 AM, Martin Keckeis wrote: I don't see that it is possible to merge the settings from different libraries, what if an application is relying on mbstring and iconv having different settings ?? I think this use case is descibed in the RFC. The default_charset can be

Re: [PHP-DEV] Adding new MIME types for the CLI web server

2013-11-01 Thread Derick Rethans
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 },

Re: [PHP-DEV] Adding new MIME types for the CLI web server

2013-11-01 Thread Christopher Jones
On 10/31/13 4:12 PM, Stas Malyshev wrote: Hi! Final comments anyone, before I commit next week? It looks strange that we have to hardcode so many mimetypes in the code, and doesn't sound a scalable solution. Can't we make it use data from fileinfo or some other customizeable table so we