HTTP:code_set(integer)
Sets the response status code.
Syntax
HTTP:code_set(integer);
Arguments
| Name | Description |
|---|---|
|
integer A |
Integer which specifies the status code. |
Events
Applicable in HTTP_RESPONSE.
Example
when HTTP_REQUEST {
HTTP:coe_set(503);
}
Supported Version
FortiADC version 4.8.x and later.