Re: Header variables

From: Date: Wed, 24 Apr 2002 14:15:52 +0000
Subject: Re: Header variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94381@lists.php.net to get a copy of this message
On Wednesday, April 24, 2002, at 10:05 AM, David Russell wrote:
Each time I look at code from websites/etc, I notice a different set of headers that get sent to the browser. Amongst others, there are: location : <uri> content-type : <mime-type> content-disposition : attachment <more stuff> Is there anywhere where I can find a standard set of headers available to me? I had a look at the w3c site for this (briefly) but found a short (and seemingly incomplete) set of stuff.
Not incomplete at all. The definitive resource for this information is the HTTP RFC, available at http://www.ietf.org/rfc/rfc2616.txt (from http://www.w3.org/Protocols/Specs.html). This spec has everything you want to know about HTTP. For the headers, go directly to section 14. (here is the introductory paragraph:) <snip>
Fielding, et al.            Standards Track                    [Page 99]
RFC 2616                        HTTP/1.1                       June 1999
14 Header Field Definitions This section defines the syntax and semantics of all standard HTTP/1.1 header fields. For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who receives the entity. </snip> HTH, Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#94381) next »