HeaderValueMatcherResponse

data class HeaderValueMatcherResponse(val ignoreCase: Boolean? = null, val negate: Boolean? = null, val pattern: String? = null)

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

Constructors

Link copied to clipboard
constructor(ignoreCase: Boolean? = null, negate: Boolean? = null, pattern: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ignoreCase: Boolean? = null

Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.

Link copied to clipboard
val negate: Boolean? = null

Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.

Link copied to clipboard
val pattern: String? = null

The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.