Skip to content

THeaders

Set of HTTP headers.

Declaration

Source position: httpprotocol.pp line 45

type
  THeaders = Set of 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);

Values

Value Description
hhUnknown Unknown or unrecognized header type.
hhAccept Accept header - specifies acceptable response media types.
hhAcceptCharset Accept-Charset header - specifies acceptable character encodings.
hhAcceptEncoding Accept-Encoding header - specifies acceptable content encodings.
hhAcceptLanguage Accept-Language header - specifies acceptable natural languages.
hhAcceptRanges Accept-Ranges header - indicates server support for range requests.
hhAge Age header - indicates response age in seconds.
hhAllow Allow header - lists supported HTTP methods for resource.
hhAuthorization Authorization header - contains client authentication credentials.
hhCacheControl Cache-Control header - specifies caching directives.
hhConnection Connection header - controls connection persistence.
hhContentEncoding Content-Encoding header - specifies content compression method.
hhContentLanguage Content-Language header - specifies content natural language.
hhContentLength Content-Length header - specifies content size in bytes.
hhContentLocation Content-Location header - specifies alternative resource location.
hhContentMD5 Content-MD5 header - contains MD5 hash of content.
hhContentRange Content-Range header - specifies partial content range.
hhContentType Content-Type header - specifies media type of content.
hhDate Date header - specifies message origination date and time.
hhETag ETag header - provides entity tag for caching validation.
hhExpires Expires header - specifies response expiration date and time.
hhExpect Expect header - indicates expected server behaviors.
hhFrom From header - contains user agent email address.
hhHost Host header - specifies target host and port number.
hhIfMatch If-Match header - makes request conditional on entity tag.
hhIfModifiedSince If-Modified-Since header - makes request conditional on modification date.
hhIfNoneMatch If-None-Match header - makes request conditional on entity tag mismatch.
hhIfRange If-Range header - makes range request conditional on entity tag or date.
hhIfUnModifiedSince If-Unmodified-Since header - makes request conditional on lack of modification.
hhLastModified Last-Modified header - specifies resource last modification date.
hhLocation Location header - specifies redirect or resource location.
hhMaxForwards Max-Forwards header - limits number of proxy forwards.
hhPragma Pragma header - contains implementation-specific directives.
hhProxyAuthenticate Proxy-Authenticate header - specifies proxy authentication method.
hhProxyAuthorization Proxy-Authorization header - contains proxy authentication credentials.
hhRange Range header - specifies partial content ranges to retrieve.
hhReferer Referer header - specifies referring page URI.
hhRetryAfter Retry-After header - specifies delay before retry attempt.
hhServer Server header - specifies server software information.
hhTE TE header - specifies acceptable transfer encodings.
hhTrailer Trailer header - specifies header fields in chunked encoding trailer.
hhTransferEncoding Transfer-Encoding header - specifies message body encoding method.
hhUpgrade Upgrade header - specifies protocol upgrade options.
hhUserAgent User-Agent header - specifies client software information.
hhVary Vary header - specifies headers affecting response selection.
hhVia Via header - specifies intermediate proxy information.
hhWarning Warning header - provides additional warning information.
hhWWWAuthenticate WWW-Authenticate header - specifies server authentication method.

Description

A set type for working with multiple HTTP headers simultaneously.

See also

Name Description
THeader Enumeration of standard HTTP 1.1 headers.