#36381 [Opn->Bgs]: The term "header" is used incorrectly

From: Date: Tue, 07 Mar 2006 00:42:06 +0000
Subject: #36381 [Opn->Bgs]: The term "header" is used incorrectly
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372269@lists.php.net to get a copy of this message
ID: 36381 Updated by: vrana@php.net Reported By: david at acz dot org -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Any PHP Version: Irrelevant New Comment: RFC 2616 4.1: "header fields (also known as "headers")". Previous Comments: ------------------------------------------------------------------------ [2006-02-13 16:48:50] david at acz dot org Description: ------------ The header, headers_list, headers_sent and possibly other functions use the term "header" incorrectly (although this is a very common mistake). See RFC 2616 sections 4.1 and 4.2 for the complete explanation. Essentially, an HTTP response consists of a status-line, message-header and message-body. The individual entities in the header are called "header fields", not "headers" as the documentation calls them. I realize this is a pedantic issue, but that doesn't mean it shouldn't be fixed. The PHP manual is generally excellent. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36381&edit=1

« previous php.doc (#969372269) next »