Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79368 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89956 invoked from network); 2 Dec 2014 05:01:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2014 05:01:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@samplonius.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tom@samplonius.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain samplonius.org from 209.85.220.41 cause and error) X-PHP-List-Original-Sender: tom@samplonius.org X-Host-Fingerprint: 209.85.220.41 mail-pa0-f41.google.com Received: from [209.85.220.41] ([209.85.220.41:39190] helo=mail-pa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/98-32869-3A74D745 for ; Tue, 02 Dec 2014 00:01:24 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so12719770pab.0 for ; Mon, 01 Dec 2014 21:01:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=LjN+h+bMJ/kHbjgpOnkUIJJul8nzS/wd0Kv2yIvSKuo=; b=GcboRnOHA/N42mxIqdE9QxwkYDT4fHC5l721JBbZgdrhRnL2E9uMDs1PdsAlCuq6uI LHgRF1ewjKNXN/zlrlTlzY58HPYSyGExa5MAbjlvM9wFhKe0VjQFbdOLXQcYF+gvxLvc wyFNQDxFvV0U2uXVE+XBJV/jAHqTw8/Dy4fZul+muZCQMF3MH1jGEqjY5l2neQIb3nDe tJH/XBrY/P2GA+jQ5pBb2a+B7qJx2dtmSuEBfoqJamV+MD6NZa79KdsuyiG20hqY3xd5 wFvdixow2YpS6OX4eZq6Z1L+QPQ8UG+7TFZNq2L25u6PkKIKvcTduSOBbhTzhXvWlPBE gzMQ== X-Gm-Message-State: ALoCoQnj0ZvQknB7It1jQl7m2iMBDu6+zGxEabo4ExiknJX+oWB10hiucjWoKpDckShPOqSXBzWJ X-Received: by 10.70.138.37 with SMTP id qn5mr108494015pdb.118.1417496480888; Mon, 01 Dec 2014 21:01:20 -0800 (PST) Received: from [10.0.1.9] (dy2.sdf.com. [216.113.193.86]) by mx.google.com with ESMTPSA id oc16sm6710600pdb.41.2014.12.01.21.01.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Dec 2014 21:01:20 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_350C9435-4DEA-4E9E-A07F-BC46E52B89B3" Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Mon, 1 Dec 2014 21:01:06 -0800 Cc: PHP Internals List Message-ID: <214B0FB2-0C7A-4C38-9F46-9153DF0544A3@samplonius.org> References: <547CEB74.9070807@ralphschindler.com> To: Rowan Collins X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] $http_response_header From: tom@samplonius.org (Tom Samplonius) --Apple-Mail=_350C9435-4DEA-4E9E-A07F-BC46E52B89B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >=20 > Wow, I had no idea that existed; what an incredibly ugly = implementation. Even the name is weird (why "header" singular when it = contains an array of headers?) Actually, no. HTTP responses contain a single header at the protocol = level, but contain multiple lines. At some point, people started to = each line a =E2=80=9Cheader=E2=80=9D, which is actually more strange. I = think that usage may have originated in PHP, actually. At this point, = common usage supports both =E2=80=9Cheader=E2=80=9D and =E2=80=9Cheaders=E2= =80=9D, though =E2=80=9Cheader=E2=80=9D is the more general term. For = comparison, no one refers to the separate fields of a TCP header, as = =E2=80=9Cheaders=E2=80=9D. Tom= --Apple-Mail=_350C9435-4DEA-4E9E-A07F-BC46E52B89B3--