http.user_agent — User Agent
metin
In the console: User Agent
Matches the User-Agent header containing the browser, library, or bot name. Frequently used for bot detection and blocking specific clients.
Supported Operators
Section titled “Supported Operators”| Operator | Description |
|---|---|
== | Exact match |
!= | Not equal |
in | In list |
not_in | Not in list |
contains | Contains |
not_contains | Does not contain |
has_prefix | Starts with |
has_not_prefix | Does not start with |
has_suffix | Ends with |
has_not_suffix | Does not end with |
Examples
Section titled “Examples”IF http.user_agent contains BadBotTHEN block
IF http.user_agent contains python-requestsTHEN captcha
IF http.user_agent == ""THEN block