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
-
HTTP_RESPONSE
-
WAF_RESPONSE_ATTACK_DETECTED
-
WAF_RESPONSE_BEFORE_SCAN
Example
when HTTP_RESPONSE {
HTTP:status_code_set(“304”);
}
Supported Version
FortiADC version 4.8.x and later.