[Next] [Up] [Previous]
Next: HTTP/1.0 Methods Up: HyperText Transfer Protocol: A Previous: Overview of the Initial

HTTP/1.0 Header Fields

An HTTP transaction consists of a header followed optionally by an empty line and some data. The header will specify such things as the action required of the server, or the type of data being returned, or a status code. The use of header fields sent in HTTP transactions gives the protocol great flexibility. These fields allow descriptive information to be sent in the transaction, enabling authentication, encryption, and/or user identification. The header is a block of data preceding the actual data, and is often referred to as meta information, because it is information about information. The header lines received from the client, if any, are placed by the server into the CGI environment variables with the prefix HTTP_ followed by the header name. Any - characters in the header name are changed to _ characters. The server may exclude any headers which it has already processed, such as Authorization, Content-Type, and Content-Length. If necessary, the server may choose to exclude any or all of these headers if including them would exceed any system environment limits. An example of this is the HTTP_ACCEPT variable, another example is the header User-Agent.
[Next] [Up] [Previous]
Next: HTTP/1.0 Methods Up: HyperText Transfer Protocol: A Previous: Overview of the Initial
Copyright © 2003, John Yannakopoulos <giannak@csd.uoc.gr>