Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88851 invoked from network); 23 Oct 2013 00:22:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2013 00:22:03 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:60407] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/60-10840-AA617625 for ; Tue, 22 Oct 2013 20:22:03 -0400 Received: by mail-lb0-f169.google.com with SMTP id o14so156157lbi.14 for ; Tue, 22 Oct 2013 17:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=immmcs7yNWFhGZtpftDuDLsNmRJEkIeNrwyRApEwNqg=; b=XGZsss3mk88A83QWX8003YXtj+rm7wyfvISxbx6v1TahDPIEbBpbWqXpb9dJok+TqF hG3TOSfVfUtk0X0bxvKvQMQWR4yzAB9TGuOee8JkAdx34rN7WXag4PKtqyM12vWkdiis /bLOKxIKOzDjKeM+pM/4eJZAeqLornw93Bb5lgSjZqaFpQay5VsoCzrzNhthnRIucPYC BgNj00taR4H9Ch31a3N8UJ86ziOwl2Hr2bQ5nC9vVeL1xFnnFCEjah0eQQkjy/WqPbo4 1kQfS6/kgDoXQAQn6sjcyJ5XyPimAnU++2c6I9E8NQ24lv4gXdWVeeZydKaNaU6yBzdS eTzQ== X-Received: by 10.152.22.97 with SMTP id c1mr7694895laf.31.1382487719336; Tue, 22 Oct 2013 17:21:59 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Tue, 22 Oct 2013 17:21:18 -0700 (PDT) In-Reply-To: <526712D2.7080100@ajf.me> References: <52603390.7020609@ajf.me> <5266E5D0.3090506@ajf.me> <526712D2.7080100@ajf.me> Date: Wed, 23 Oct 2013 09:21:18 +0900 X-Google-Sender-Auth: wxWOGHTAZDra_PCZoTYqMzlkyW0 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0158b86a6adee004e95d81d6 Subject: Re: [PHP-DEV] [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0158b86a6adee004e95d81d6 Content-Type: text/plain; charset=UTF-8 On Wed, Oct 23, 2013 at 9:05 AM, Andrea Faulds wrote: > On 23/10/2013 01:02, Yasuo Ohgaki wrote: > >> >> I'm not following the discussion, but if name matters why don't you use >> generic name >> function and alias of it? >> >> > There's already a generic alias of apache_request_headers(), namely > getallheaders(). There's not yet one for apache_response_headers(), but I > don't think it's within the scope of this request to add one. I might add > one with a separate request, mind. getallheaders() is not good name since it does not follow current naming convention. Why don't we have - sapi_request_headers() - sapi_response_headers() or - http_request_headers() - http_response_headers() Just an idea. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0158b86a6adee004e95d81d6--