Condition to match a header field of HTTP response
This condition is used to match HTTP response messages from backend servers
by HTTP header fields. HTTP header fields are components of the header
section of HTTP request and response messages. They define the operating
parameters of an HTTP transaction. For example, Cookie, Authorization,
User-Agent, etc. One condition can be used to match one header field, to
match multiple header fields, multiple conditions must be specified.
The match_type field defines how header_value field is used to match HTTP
responses. The header_name field does not support match types.
Name | Description | Type | Notes |
---|---|---|---|
case_sensitive | A case sensitive flag for HTTP header value comparing If true, case is significant when comparing HTTP header value. |
boolean | Default: "True" |
header_name | Name of HTTP header field | string | Required |
header_value | Value of HTTP header field | string | Required |
inverse | A flag to indicate whether reverse the match result of this condition | boolean | Default: "False" |
match_type | Match type of HTTP header value | LbRuleMatchType | Default: "REGEX" |
type | Must be set to the value LBHttpResponseHeaderCondition | LBRuleConditionType | Required |