| vrana@php.net 2006-03-06, 6:56 pm |
| 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
|