com.HTTPServiceRequest.setResponseVersion
Defines the HTTP response version.
Syntax
setResponseVersion(
version STRING )
- version specifies the HTTP response version.
Usage
The setResponseVersion()
method defines the HTML response version (1.0 or
1.1).
If not set, the same version as the request is used.
The method must be called before sending the response with one of sendResponse
, sendTextResponse
,
sendXmlResponse
, or beginXmlResponse
and endXmlResponse
methods.
In case of error, the method throws an exception and sets the
STATUS
variable. Depending on the error, a human-readable description of the
problem is available in the SQLCA.SQLERRM
register. See Error handling in GWS calls (STATUS).