Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76699 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82190 invoked from network); 19 Aug 2014 11:54:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2014 11:54:23 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:39340] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/00-16275-CEA33F35 for ; Tue, 19 Aug 2014 07:54:21 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 1ED2941B59; Tue, 19 Aug 2014 13:54:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.31] (ppp-93-104-8-199.dynamic.mnet-online.de [93.104.8.199]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id F2B4D41B57; Tue, 19 Aug 2014 13:54:23 +0200 (CEST) To: Michael Wallner Cc: PHP Internals In-Reply-To: <53F3018E.6090201@php.net> References: <53F3018E.6090201@php.net> Content-Type: text/plain; charset="UTF-8" Date: Tue, 19 Aug 2014 13:53:14 +0200 Message-ID: <1408449194.2617.375.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] pecl_http From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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