iTP Secure WebServer System Administrators Guide (Version 7.5+)

Table 19 Sample HTTP Header Variables (continued)
DescriptionSample HTTP Variable
image/gif, image/jpeg
This variable lists the character sets that the Web client can
accept.
HTTP_ACCEPT_CHARSET
Format:
[ char-set-name, ] [ char-set-name, ]
Example:
iso-8859-5, Shift_JIS
This variable lists the set of languages that the Web client
prefers as a response.
HTTP_ACCEPT_LANGUAGE
Format:
[ language, ] [ language, ]
Example:
da, en-gb
This variable lists the IP host and port of the resource being
requested. port is required only if the value is other than
80.
HTTP_HOST
Format:
host-name[:port ]
Example:
www.w3.org:10300
This variable specifies the number of bytes (or a range of
bytes if the range is indicated) a Web client can retrieve.
HTTP_RANGE
Format:
bytes=number-of-bytes
or
bytes=range-of-bytes
where
consists of a starting value and an ending value separated
by a hyphen (-); omit the starting value if you want the Web
client can retrieve the last number of bytes specified by
range-of-bytes.
Examples:
bytes=0-499
specifies a range from 0 to 499
bytes=-250
specifies the previous 250 bytes
This variable identifies the Web client software being used
to access the server.
HTTP_USER_AGENT
Format:
browser-name/version
Example:
Mozilla/4.0
154 Using Common Gateway Interface (CGI) Programs