Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51287 invoked from network); 19 Oct 2013 10:45:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2013 10:45:19 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.43 mail-la0-f43.google.com Received: from [209.85.215.43] ([209.85.215.43:62447] helo=mail-la0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/A5-23638-EB262625 for ; Sat, 19 Oct 2013 06:45:18 -0400 Received: by mail-la0-f43.google.com with SMTP id el20so1363523lab.30 for ; Sat, 19 Oct 2013 03:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LFyTqVR1Uj/WDyCqUnCFFE8AZp1gueI2qtIMohBPae4=; b=lnqdewxbroI55imzHn+l31TuiU/IDUKmuDK3bJN5hu8pDA+7CGn8y3gXO5Ue8QFcew rcDIdLeAH6j6WAJ/uiPARX578flY3/dvbFkzNLa8OL+TwldBBGiH8H3vWvlgtO+pos0/ TFnqaLCJv8JVfGPzcmhVffVUvLaFIU1TNMuymGJXctrRILPekV/95yw8lAj/LqVct0oe ctEwrImYFQyOYDJalmCCOWJ8P8XqfL9GXgxH62AcqXh6l6J4wDlpWT4lj+OhQcUqT7lv gudA1ODJorxqpjGaOJGG2GwftEcTh7aF9vqQ34VNM6iLzj/sThp3w4C7X83icKTl8wpq HRaw== MIME-Version: 1.0 X-Received: by 10.152.9.36 with SMTP id w4mr4809649laa.34.1382179513504; Sat, 19 Oct 2013 03:45:13 -0700 (PDT) Received: by 10.112.148.138 with HTTP; Sat, 19 Oct 2013 03:45:13 -0700 (PDT) In-Reply-To: <52603390.7020609@ajf.me> References: <52603390.7020609@ajf.me> Date: Sat, 19 Oct 2013 12:45:13 +0200 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server From: pierre.php@gmail.com (Pierre Joye) hi! On Thu, Oct 17, 2013 at 8:59 PM, Andrea Faulds wrote: > Hello all, > > I implemented FR #65917 (getallheaders() is not supported by the built-in > web server). FR #65917 is actually my own feature request; I created it > because I had tried to use it with the CLI server to test an application of > mine, and it wasn't available. So I went and implemented it, and since > apache_response_headers() complements it and was trivial to implement as > well, I have also implemented that, by copying the FastCGI code. > > Pull request here: https://github.com/php/php-src/pull/496 > > The intent is for this to be merged into master (and hopefully 5.6). The > pull request updates NEWS and UPGRADING, as well as adding a test. > > Thanks for your time. Good idea, it was missing for too long already. I do not think we need a RFC for this addition as it is about bringing the builtin webserver in sync with other SAPIs. Cheers, -- Pierre @pierrejoye | http://www.libgd.org