responseHeader

  • Property Manager name: Response Header
  • Criteria version: The v2023-01-05 rule format supports the responseHeader criteria v1.2.
  • Rule format status: GA, stable
  • Access: Read-write
  • Allowed in includes: Yes

Match HTTP header names or values.

OptionTypeDescriptionRequires
header‚ÄčNamestring

The name of the response header, for example Content-Type.

{"displayType":"string","tag":"input","type":"text"}
match‚ÄčOperatorenum

Narrows the match according to various criteria.

{"displayType":"enum","options":["IS_ONE_OF","IS_NOT_ONE_OF","EXISTS","DOES_NOT_EXIST","IS_LESS_THAN","IS_MORE_THAN","IS_BETWEEN"],"tag":"select"}
IS_‚ÄčONE_‚ÄčOF

The field's value string matches.

IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF

The field's value string does not match.

EXISTS

The HTTP field header‚ÄčName is present.

DOES_‚ÄčNOT_‚ÄčEXIST

The HTTP field header‚ÄčName is absent.

IS_‚ÄčLESS_‚ÄčTHAN

Matches ranges when the value is numeric.

IS_‚ÄčMORE_‚ÄčTHAN

Matches ranges when the value is numeric.

IS_‚ÄčBETWEEN

Is between the numeric lower‚ÄčBound and upper‚ÄčBound values.

valuesstring array

The response header's value, for example application/x-www-form-urlencoded when the header header‚ÄčName is Content-Type.

match‚ÄčOperator is either: IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}
lower‚ÄčBoundnumber

When the value is numeric, this field specifies the match's minimum value.

match‚ÄčOperator is either: IS_‚ÄčMORE_‚ÄčTHAN, IS_‚ÄčBETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_MORE_THAN","IS_BETWEEN"]}}
upper‚ÄčBoundnumber

When the value is numeric, this field specifies the match's maximum value.

match‚ÄčOperator is either: IS_‚ÄčLESS_‚ÄčTHAN, IS_‚ÄčBETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_LESS_THAN","IS_BETWEEN"]}}
match‚ÄčWildcard‚ÄčNameboolean

Allows * and ? wildcard matches in the header‚ÄčName field.

{"displayType":"boolean","tag":"input","type":"checkbox"}
match‚ÄčWildcard‚ÄčValueboolean

Allows * and ? wildcard matches in the value field.

match‚ÄčOperator is either: IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}
match‚ÄčCase‚ÄčSensitive‚ÄčValueboolean

When enabled, the match is case-sensitive for the value field.

match‚ÄčOperator is either: IS_‚ÄčONE_‚ÄčOF, IS_‚ÄčNOT_‚ÄčONE_‚ÄčOF
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}