com.HttpRequest.setVersion
Sets the HTTP version of the request.
Syntax
setVersion(
version STRING )
- version defines the HTTP version of the request.
Usage
The setVersion()
method defines the HTTP version of the request.
Accepted versions are 1.0 and 1.1 (only these two versions are supported).
The default is 1.1.
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).