ERROR_INFO
Specifies the error code to determine the error page. For example:
401
HTTP_COOKIE
Contains the cookie that is sent with this request to communicate state
information. For example:
CustomerNumber=HJ68944
You can find details about cookies at URL:
http://www.netscape.com/newsref/std/cookie_spec.html.
HTTP_REASON
Sets the reason string in the HTTP response header.
HTTP_RESPONCE
Sets the response code in the HTTP response header.
INIT_STRING
The string specified on the ServerInit directive.
LAST_MODIFIED
For example:
12/25/97
LOCAL_VARIABLES
All the user-defined variables.
PASSWORD
For Basic authentication, contains the decoded password. For example:
password
Note: IBM HTTP Server for AS/400 does not allow access to the
PASSWORD variable if authorization is configured which uses
AS/400 user profiles and passwords for authentication.
To prevent an application from obtaining anAS/400 user profile
password, HTTPD_extract() is sensitive to the type of protect setups
that are currently configured. If a protection setup is configured
with a password file of %%SYSTEM%% (protection requiring
AS/400 user profile password), HTTP_extract() for PASSWORD
returns HTTP_PARAMETER_ERROR and sets the value parameter
to *CONFLICT. Otherwise, HTTP_extract() returns the appropriate
value.
PATH Fully translated path.
PEAKCONNECTIONS
Defines the peak number of connections the server allows. For example:
45
PPATH
Partially translated path.
PROXY_ACCESS
Defines whether the request is a proxy request or not. For example:
NO
PROXY_CONTENT_TYPE
Content-Type header of the proxy request that is made through
HTTPD_proxy. When information is sent with the method of POST, this
Chapter7. Writing Server API programs 125