ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #36381 [Opn->Bgs]: The term "header" is used incorrectly
by vrana other posts by this author
Mar 6 2006 4:42PM messages near this date
[PHP-DOC] #36381 [NEW]: The term "header" is used incorrectly | [PHP-DOC] cvs: phpdoc /en/language/oop5 overloading.xml
ID:               36381
 Updated by:       vrana@[...].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
Thread:
David At Acz Dot Org
vrana

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved