Response Fields
| Field | Key | Type | Example |
|---|---|---|---|
| Origin Response Status | http.response.status | integer | 401 |
| Origin Response Header | http.response.header | name=value | X-Error=rate-limited |
Example: Detect 401 floods with failban
Section titled “Example: Detect 401 floods with failban”IF http.response.status == 401THEN failbanThis rule increments the failban counter for the IP on every request the origin returns 401 for. Once the configured threshold is reached, the IP is automatically banned.