Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71376 invoked from network); 22 Oct 2013 20:51:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2013 20:51:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wg0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:61270] helo=mail-wg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/4D-10840-A35E6625 for ; Tue, 22 Oct 2013 16:51:06 -0400 Received: by mail-wg0-f45.google.com with SMTP id z12so8710746wgg.24 for ; Tue, 22 Oct 2013 13:51:03 -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=ST1Ij5scSVVG7kqcVyiLfb2YMD1OK5s2YIkGzJWSuDo=; b=kEZdgXyPTEadbZc4bD6aAUYxNRomZCHwV604ZZj76JZOkeSdGaIZCMwOGsJmp3m6Du ffzRDsWodCnuL6Aw9HhTvLvUiTd9Y4FjRF+Ivb9OfWGdvQyENbUvTIVugCONSs8k9AJV ZiMOeTrhSN8vuZY9ssNOoNObB48N397m7kbh0jsEdW6C7AQX8T3A6O0+MQrTGPAmnWPR vgixb9yvc34BW/1Mty9hI+moVM76udOpkUSFn+RuVbAeTHNj2qdLRxgYcPgj1QHs6t6H y0u+lmdygB5R++NyoX8IG6nHu3XRNRBwuyRIpgKpezrVg6ziM9IrR6yEuv+3AncQ2t0y nfjA== MIME-Version: 1.0 X-Received: by 10.180.73.239 with SMTP id o15mr16191306wiv.36.1382475063503; Tue, 22 Oct 2013 13:51:03 -0700 (PDT) Received: by 10.216.183.9 with HTTP; Tue, 22 Oct 2013 13:51:03 -0700 (PDT) In-Reply-To: <52603390.7020609@ajf.me> References: <52603390.7020609@ajf.me> Date: Tue, 22 Oct 2013 21:51:03 +0100 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server From: leight@gmail.com (Leigh) On 17 October 2013 19:59, 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. Sorry for a late response. I wanted to add my personal feeling is that I do not like apache_* functions (or function aliases) existing outside of the Apache SAPI. getallheaders() yes apache_* no I decided to click the pull request link before hitting send. Looks like this has already been brought up. Going to hit send anyway :)