Re: [PHP-DEV] [RFC] pecl_http

[email protected] (Michael Wallner)
Newsgroups php.internals
Message-ID <CALJZF3gFfDcMp3e6u0iVLOadD+HZ1VyJJ_Y1mXMg4Nz5XGqCFQ@mail.gmail.com>
On 19 August 2014 13:53, Johannes Schlüter <[email protected]> wrote:

>
> In my opinion when moving this to core the http(s):// stream should use
> the same HTTP implementation so one has consistent behavior.
>
>
This would add a hard dependency on libcurl, which I'd be obviously fine
with.


> 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.
>

This is from the v1-docs and was developed in a time before Fileinfo
existed.
That feature was not elevated to v2.


>
> 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
>
>
-- 
Regards,
Mike
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.