Developer Documentation

LBHttpResponseHeaderCondition

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.


Properties

Required Property Name Type Description
optional case_sensitive boolean

If true, case is significant when comparing HTTP header value.

optional header_name string

Name of HTTP header field

optional header_value string

Value of HTTP header field

optional inverse boolean

A flag to indicate whether reverse the match result of this condition

optional match_type string

Match type of HTTP header value

required type string

Type of load balancer rule condition

Extends


LBRuleCondition
Feedback

Was this page helpful?