Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94066 invoked from network); 1 Nov 2014 15:43:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2014 15:43:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:44010] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/E2-63593-19FF4545 for ; Sat, 01 Nov 2014 10:43:14 -0500 Received: by mail-wi0-f173.google.com with SMTP id n3so3419740wiv.0 for ; Sat, 01 Nov 2014 08:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to :message-id; bh=AtryiqsmoQVs1C64NLtnV33YyCF3bN0mji42vAoqetE=; b=LzQj8d7lfRSZz8IvUDtQBQccNeMx46d/lUY2YpgeQPN/1n58h8ILcZfIPoT7ayRweS w0ZYh/FiaE4KWYyVdTRYATbGhJMwFNcms8FnO5VLunTmu+gGgosvcgGKXOaVUlSOVXiF wEeMBUMTmeYZTF2IdHXLv0u9ZTwTIUXp6q1bCErw9miv3vKGh3Q2EFdngQck0ciIV7kW lmJcY8zYi3HcR40U5XR0eyMW0KZDXnPa+rwWsg37LiHC0F3hOV5OWhbb27KblnKl5mC9 o1pYbyW0ENx4Vre4S5p44p5NO95fwBsf6WPQvxOhzUdveq08JxGPNxaqaoVCNuPdUxoS K/dA== X-Received: by 10.180.205.171 with SMTP id lh11mr4633694wic.66.1414856590626; Sat, 01 Nov 2014 08:43:10 -0700 (PDT) Received: from [192.168.0.3] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id bq6sm2301927wib.1.2014.11.01.08.43.09 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Nov 2014 08:43:10 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sat, 01 Nov 2014 15:42:06 +0000 To: PHP Internals Message-ID: <9DFA80AF-703D-45D5-A052-7F6DAFF70467@gmail.com> Subject: Re: [PHP-DEV] pecl/http RFC From: rowan.collins@gmail.com (Rowan Collins) On 31 October 2014 20:47:50 GMT, Will Fitch wrote: >I don’t want to restart any previous threads, but I’d like to >get/restart the conversation going with the pecl/http RFC: >https://wiki.php.net/rfc/pecl_http >. > >Recent conversations regarding https://wiki.php.net/rfc/http-interface > make this approach far more >realistic and approachable. I think discussions regarding the two >should be hashed, and one or the other come out on top. They have >competing aspects, but pecl/http has a proven and well-known interface. > It’s high-time, at the very least, that it be considered for core. Has anyone looked at ways of tweaking pecl/http to work nicely with PSR-7? For instance, it would be a shame if an adapter were needed to make http\Message implement Psr\Http\Message\MessageInterface when they are so close in intent. On the other hand, I guess declaring the compatibility would require baking the interface itself into the core/extension, which might be unpopular.