requestHeader

  • Property Manager name: Request Header
  • Criteria version: The v2023-10-30 rule format supports the requestHeader criteria v1.1.
  • 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 request header, for example Accept-Language.

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

Narrows the match criteria.

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

Tests whether the field's value string matches.

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

Tests whether the field's value string does not match.

EXISTS

Tests if the header‚ÄčName field exists.

DOES_‚ÄčNOT_‚ÄčEXIST

Tests if the header‚ÄčName field is absent.

valuesstring array

The request header's value, for example en-US when the header header‚ÄčName is Accept-Language.

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"]}}
match‚ÄčWildcard‚ÄčNameboolean

Allows wildcards in the header‚ÄčName field, where ? matches a single character and * matches zero or more characters.

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

Allows wildcards in the value field, where ? matches a single character and * matches zero or more characters.

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

Sets a case-sensitive match 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"]}}