Re: [RFC] pecl_http
| From: | Michael Wallner | Date: | Tue, 19 Aug 2014 12:22:26 +0000 |
| Subject: | Re: [RFC] pecl_http | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76702@lists.php.net to get a copy of this message | ||
On 19 August 2014 13:53, Johannes Schlüter <johannes@schlueters.de> 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