HeaderValueMatcher interface
An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
Properties
ignore |
Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. |
negate | Setting this value as truth will force to check the negation of the condition given by the user in the pattern field. |
pattern | The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite. |
Property Details
ignoreCase
Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
ignoreCase?: boolean
Property Value
boolean
negate
Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
negate?: boolean
Property Value
boolean
pattern
The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
pattern?: string
Property Value
string