Re: [PHP-DEV] [RFC] pecl_http

[email protected] (Johannes Schlüter)
Newsgroups php.internals
Message-ID <1408449194.2617.375.camel@guybrush>
On Tue, 2014-08-19 at 09:49 +0200, Michael Wallner wrote:
> Hi PHP internals!
> 
> I've created an RFC for discussion:
> 
> 	Whether it is feasible to add pecl_http v2 to the core.
> 
> https://wiki.php.net/rfc/pecl_http

In my opinion when moving this to core the http(s):// stream should use
the same HTTP implementation so one has consistent behavior.

I also see that HTTP offers "Content type guessing [...] by building
this extension with libmagic support" I think that should based on
fileinfo so both report the same type for a file. Again consistency.

I also think the HTTP module should be forced on (like SPL or pcre) or
at least be on by default (unless --disable-[all|http] is used)

johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.