For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2006 > #36381 [Opn->Bgs]: The term "header" is used incorrectly









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #36381 [Opn->Bgs]: The term "header" is used incorrectly
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com