Sign in Join
FPDoc Onlineexperiment

THeader enumeration

In unit HTTPProtocol

Enumeration of standard HTTP 1.1 headers.

Declaration

pascal
THeader = (hhUnknown,hhAccept,hhAcceptCharset,hhAcceptEncoding,
 hhAcceptLanguage,hhAcceptRanges,hhAge,hhAllow,
 hhAuthorization,hhCacheControl,hhConnection,
 hhContentEncoding,hhContentLanguage,hhContentLength,
 hhContentLocation,hhContentMD5,hhContentRange,hhContentType,
 hhDate,hhETag,hhExpires,hhExpect,hhFrom,hhHost,hhIfMatch,
 hhIfModifiedSince,hhIfNoneMatch,hhIfRange,
 hhIfUnModifiedSince,hhLastModified,hhLocation,hhMaxForwards,
 hhPragma,hhProxyAuthenticate,hhProxyAuthorization,hhRange,
 hhReferer,hhRetryAfter,hhServer,hhTE,hhTrailer,
 hhTransferEncoding,hhUpgrade,hhUserAgent,hhVary,hhVia,
 hhWarning,hhWWWAuthenticate)

Description

This enumeration defines all standard HTTP 1.1 headers as defined in RFC 2616, plus some commonly used non-standard headers like X-Requested-With, Cookie, and Set-Cookie.

See also

Values

hhUnknownUnknown or unrecognized header type.
hhAcceptAccept header - specifies acceptable response media types.
hhAcceptCharsetAccept-Charset header - specifies acceptable character encodings.
hhAcceptEncodingAccept-Encoding header - specifies acceptable content encodings.
hhAcceptLanguageAccept-Language header - specifies acceptable natural languages.
hhAcceptRangesAccept-Ranges header - indicates server support for range requests.
hhAgeAge header - indicates response age in seconds.
hhAllowAllow header - lists supported HTTP methods for resource.
hhAuthorizationAuthorization header - contains client authentication credentials.
hhCacheControlCache-Control header - specifies caching directives.
hhConnectionConnection header - controls connection persistence.
hhContentEncodingContent-Encoding header - specifies content compression method.
hhContentLanguageContent-Language header - specifies content natural language.
hhContentLengthContent-Length header - specifies content size in bytes.
hhContentLocationContent-Location header - specifies alternative resource location.
hhContentMD5Content-MD5 header - contains MD5 hash of content.
hhContentRangeContent-Range header - specifies partial content range.
hhContentTypeContent-Type header - specifies media type of content.
hhDateDate header - specifies message origination date and time.
hhETagETag header - provides entity tag for caching validation.
hhExpiresExpires header - specifies response expiration date and time.
hhExpectExpect header - indicates expected server behaviors.
hhFromFrom header - contains user agent email address.
hhHostHost header - specifies target host and port number.
hhIfMatchIf-Match header - makes request conditional on entity tag.
hhIfModifiedSinceIf-Modified-Since header - makes request conditional on modification date.
hhIfNoneMatchIf-None-Match header - makes request conditional on entity tag mismatch.
hhIfRangeIf-Range header - makes range request conditional on entity tag or date.
hhIfUnModifiedSinceIf-Unmodified-Since header - makes request conditional on lack of modification.
hhLastModifiedLast-Modified header - specifies resource last modification date.
hhLocationLocation header - specifies redirect or resource location.
hhMaxForwardsMax-Forwards header - limits number of proxy forwards.
hhPragmaPragma header - contains implementation-specific directives.
hhProxyAuthenticateProxy-Authenticate header - specifies proxy authentication method.
hhProxyAuthorizationProxy-Authorization header - contains proxy authentication credentials.
hhRangeRange header - specifies partial content ranges to retrieve.
hhRefererReferer header - specifies referring page URI.
hhRetryAfterRetry-After header - specifies delay before retry attempt.
hhServerServer header - specifies server software information.
hhTETE header - specifies acceptable transfer encodings.
hhTrailerTrailer header - specifies header fields in chunked encoding trailer.
hhTransferEncodingTransfer-Encoding header - specifies message body encoding method.
hhUpgradeUpgrade header - specifies protocol upgrade options.
hhUserAgentUser-Agent header - specifies client software information.
hhVaryVary header - specifies headers affecting response selection.
hhViaVia header - specifies intermediate proxy information.
hhWarningWarning header - provides additional warning information.
hhWWWAuthenticateWWW-Authenticate header - specifies server authentication method.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.