Response headers match
Matches when any specified response header names and patterns match.
This condition inspects the outgoing response to verify the presence of a specific set of header names and their corresponding values. It returns true if any defined header name is present and contains a value that matches its respective regular expression .
Note:
This web control condition is only available on Response web controls.
Configuration
- Case sensitive: Whether to enable case sensitivity during the comparison. When disabled, the condition performs a case-insensitive match for both the header names and the values against the defined patterns.
- Name: The exact name of the response header to inspect. Multiple headers can be added to the list.
- Pattern: The RE2 regular expression used to evaluate the specific header’s value.
- Defined patterns: The list of all active name-pattern pairs for this condition. The condition returns true if the response matches any entry in this list.
Measurement
To evaluate this condition, the proxy resolves the specified headers from the outgoing response and evaluates them against the Defined patterns as a collective set.
- Match found: The condition returns true upon the first match found.
- No match found: The condition returns false if no matches are found.
- Missing header: A missing header is treated the same as a header whose value does not match the pattern.
Performance
- Sequential validation: Evaluation time increases incrementally with the number of name-pattern pairs in the list. For responses that do not match any entry, the proxy must evaluate every pair before returning false.
- Short-circuit optimization: The condition iterates through the list and returns true as soon as the first match is identified. To minimize processing time, place the entries most likely to match at the top of the list.
Have questions not answered here?
Contact Support
to get more help.
Last modified on November 18, 2026