Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:version_get()

HTTP:version_get()

Returns the HTTP version of the request or response.

Syntax

HTTP:version_get();

Arguments

N/A

Events

Applicable in the following events:

  • HTTP_REQUEST

  • HTTP_RESPONSE

Example

when HTTP_REQUEST {
v = HTTP:version_get();
}

Supported Version

FortiADC version 5.8.x and later.

HTTP:version_get()

HTTP:version_get()

Returns the HTTP version of the request or response.

Syntax

HTTP:version_get();

Arguments

N/A

Events

Applicable in the following events:

  • HTTP_REQUEST

  • HTTP_RESPONSE

Example

when HTTP_REQUEST {
v = HTTP:version_get();
}

Supported Version

FortiADC version 5.8.x and later.