Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:reason_set(value)

HTTP:reason_set(value)

Sets the response reason.

Syntax

HTTP:reason_set(value);

Arguments

Name Description

value

A string which specifies the response reason.

Events

Applicable in HTTP_RESPONSE.

Example

when HTTP_RESPONSE {
HTTP:reason_set(“Not exist !”);
}

Supported Version

FortiADC version 4.8.x and later.

HTTP:reason_set(value)

HTTP:reason_set(value)

Sets the response reason.

Syntax

HTTP:reason_set(value);

Arguments

Name Description

value

A string which specifies the response reason.

Events

Applicable in HTTP_RESPONSE.

Example

when HTTP_RESPONSE {
HTTP:reason_set(“Not exist !”);
}

Supported Version

FortiADC version 4.8.x and later.