You can use standard HTTP header variables to customize the processing and control of the WebFOCUS Client. Once the WebFOCUS Servlet places the variables in the WebFOCUS variable table, you can use the variables in the site.wfs file.
HTTP Header Variables |
Description |
---|---|
AUTH_TYPE |
Specifies the authentication scheme, if an authorization header is supplied. |
CONTENT_LENGTH |
Stores the number of bytes of data sent. For POST requests only. |
CONTENT_TYPE |
Designates the MIME type of attached data. |
DOCUMENT_ROOT |
Specifies the location of the host directory. |
HTTP_ACCEPT |
Specifies the media (MIME) type the WebFOCUS Client prefers to accept, separated by commas (,). |
HTTP_ACCEPT_ENCODING |
Restricts the content-codings that are acceptable in the response. |
HTTP_ACCEPT_LANGUAGE |
Indicates which languages are preferred. |
HTTP_USER_AGENT |
Identifies the browser (or other client) making the request. It can be used to return content to different browsers. |
HTTP_REFERER |
Indicates the URL of the referring webpage. |
PATH_INFO |
Supplies any path information attached to the URL after the server address, but before the query string. |
PATH_TRANSLATED |
Value of PATH_INFO with any virtual path name expanded into a directory specification. |
QUERY_STRING |
Information that follows the question mark (?) in the URL. |
REMOTE_ADDR |
IP address of the client that made the request. |
REMOTE_HOST |
Fully qualified domain name of the client that made the request. |
REQUEST_METHOD |
HTTP request method. |
SCRIPT_NAME |
Name of the script program being run. |
SERVER_NAME |
Server host name or IP address. |
SERVER_PORT |
TCP/IP port on which the request was received. |
SERVER_PROTOCOL |
Name and version of the information retrieval protocol that relates to a request. |
SERVER_SOFTWARE |
Name and version of the web server. |
URL_PROTOCOL |
Default URL protocol (http or https). |
Tip: You can use WebFOCUS Script (WFS) commands with HTTP header variables to further customize processing and control of the WebFOCUS Client.