The HTTPRequest class / com.HTTPRequest methods |
Sets the HTTP version of the request.
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 with the appropriate error number.