HTTP:status_code_set(value)
Sets the HTTP response status code.
Syntax
HTTP:status_code_set(value);
Arguments
| Name | Description |
|---|---|
|
value |
A string which specifies the status code. |
Events
Applicable in HTTP_RESPONSE.
Example
when HTTP_RESPONSE{
HTTP:status_code_set(“304”);
}
Supported Version
FortiADC version 4.8.x and later.