| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HTTP Request Headers (Page 1 of 4) HTTP request headers, as you might imagine, are used only in HTTP request messages, and serve a number of functions in them. First, they allow the client to provide information about itself to the server. Second, they give additional details about the nature of the request that the client is making. Third, they allow the client to have greater control over how its request is processed and how (or even if) a response is returned by the server or intermediary. This is the largest of the four categories of HTTP headers, comprising over a dozen different types. Allows the client to tell the server what Internet media types it is willing to accept in a response. The header may list several different MIME media types and subtypes that the client knows how to deal with. Each may be prepended with a quality value (q parameter) to indicate the client's preference. If this header is not specified, the default is for the server to assume any media type may be sent to the client. See the topics on entity media types and content negotiation for more information on how this header is used. Similar to Accept, but specifies what character sets the client is willing to accept in a response, rather than what media types. Again, the listed charsets may use a q value, and again, the default if the header is omitted is for the client to accept any character set. Similar to Accept and Accept-Charset, but specifies what content encodings the client is willing to accept. This is often used to control whether or not the server may send content in compressed form. (Remember that content codings are not the same as transfer encodings.) Similar to the preceding Accept-type headers, but provides a list of language tags that indicate what languages the client supports or expects the server to use in its response.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. |