Re: [RFC] pecl_http
| From: | Johannes Schlüter | Date: | Tue, 19 Aug 2014 11:53:14 +0000 |
| Subject: | Re: [RFC] pecl_http | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76699@lists.php.net to get a copy of this message | ||
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