HTTP:version_set(value)
Sets the HTTP request or response version to the string <value>.
Syntax
HTTP:version_set(value);
Arguments
| Name | Description |
|---|---|
|
value |
A string which specifies the version. |
Events
Applicable in the following events:
-
HTTP_REQUEST
-
HTTP_RESPONSE
Example
when HTTP_REQUEST {
HTTP:version_set(“HTTP2.0”);
}
Supported Version
FortiADC version 4.8.x and later.