Advanced   Java   Services
HTTP 1.0 Headernames
Back Next Up Home

 Keyword
 Type
 Example
 Meaning
 Allow

 Entity

 Example:
 Allow: GET, HEAD
The Allow entity-header field lists the set of methods supported by the resource identified by the Request-URI. The purpose of this field is strictly to inform the recipient of valid methods associated with the resource. The Allow header field is not permitted in a request using the POST method, and thus should be ignored if it is received as part of a POST entity.
 Authorization

 Request

 
 
A user agent that wishes to authenticate itself with a server-- usually, but not necessarily, after receiving a 401 response--may do so by including an Authorization request-header field with the request. The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.
 Content-Encoding

 Entity

 Example:
 Content-Encoding: x-gzip
The Content-Encoding entity-header field is used as a modifier to the media-type. When present, its value indicates what additional content coding has been applied to the resource, and thus what decoding mechanism must be applied in order to obtain the media-type referenced by the Content-Type header field. The Content-Encoding is primarily used to allow a document to be compressed without losing the identity of its underlying media type.
 Content-Length

 Entity

 Example:
 Content-Length: 3456
The Content-Length entity-header field indicates the size of the Entity-Body, in decimal number of octets, sent to the recipient or, in the case of the HEAD method, the size of the Entity-Body that would have been sent had the request been a GET. Applications should use this field to indicate the size of the Entity-Body to be transferred, regardless of the media type of the entity. A valid Content-Length field value is required on all HTTP/1.0 request messages containing an entity body.
 Content-Type

 Entity

 Example:
 Content-Type: text/html
The Content-Type entity-header field indicates the media type of the Entity-Body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the request been a GET.
 Date

 Entity

 Example:
 Date: Tue, 15 Nov 1994 08:12:31 GMT
The Date general-header field represents the date and time at which the message was originated. In theory, the date should represent the moment just before the entity is generated. In practice, the date can be generated at any time during the message origination without affecting its semantic value.
 Expires



 Entity


 Example:
 Expires: Thu, 01 Dec 1994 16:00:00 GMT
The Expires entity-header field gives the date/time after which the entity should be considered stale. This allows information providers to suggest the volatility of the resource, or a date after which the information may no longer be valid. Applications must not cache this entity beyond the date given. The presence of an Expires field does not imply that the original resource will change or cease to exist at, before, or after that time. However, information providers that know or even suspect that a resource will change by a certain date should include an Expires header with that date. The format is an absolute date and time.
 From

 Request

 Example:
 From: webmaster@w3.org
The From request-header field, if given, should contain an Internet e-mail address for the human user who controls the requesting user agent.
 If-Modified-Since

 Request

 Example:
 If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
The If-Modified-Since request-header field is used with the GET method to make it conditional: if the requested resource has not been modified since the time specified in this field, a copy of the resource will not be returned from the server; instead, a 304 (not modified) response will be returned without any Entity-Body. The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction overhead.
 Last-Modified

 Entity

 Example:
 Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
The Last-Modified entity-header field indicates the date and time at which the sender believes the resource was last modified. The exact semantics of this field are defined in terms of how the recipient should interpret it: if the recipient has a copy of this resource which is older than the date given by the Last-Modified field, that copy should be considered stale.
 Location

 Response

 Example:
 Location: http://www.straub.as/net/NewLocation.html
The Location response-header field defines the exact location of the resource that was identified by the Request-URI. For 3xx responses, the location must indicate the server's preferred URL for automatic redirection to the resource. Only one absolute URL is allowed.
 Referer


 Request

 Example:
 Referer: http://www.w3.org/text/sources/Overview.html
The Referer request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained. This allows a server to generate lists of back-links to resources for interest, logging, optimized caching, etc. It also allows obsolete or mistyped links to be traced for maintenance. The Referer field must not be sent if the Request-URI was obtained from a source that does not have its own URI, such as input from the user keyboard.
 Server

 Response

 Example:
 Server: CERN/3.0 libwww/2.17
The Server response-header field contains information about the software used by the origin server to handle the request. The field can contain multiple product tokens (Section 3.7) and comments identifying the server and any significant subproducts. By convention, the product tokens are listed in order of their significance for identifying the application.
 User-Agent



 Request


 Example:
 User-Agent: Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)
The User-Agent request-header field contains information about the user agent originating the request. This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring responses to avoid particular user agent limitations. Although it is not required, user agents should include this field with requests. The field can contain multiple product tokens and comments identifying the agent and any subproducts which form a significant part of the user agent. By convention, the product tokens are listed in order of their significance for identifying the application.
 WWW-Authenticate

 Response

 Example:
 WWW-Authenticate: BASIC realm=path/to/file.xxx
The WWW-Authenticate response-header field must be included in 401 (unauthorized) response messages. The field value consists of at least one challenge that indicates the authentication scheme(s) and parameters applicable to the Request-URI.

top Back Next Up Home