GuideReference
TrainingSupportCommunity

request_​header

  • Property Manager name: Request Header
  • Criteria version: The v2023-01-05 rule format supports the request_​header 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 * 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

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"]}}