HTTP response header element. Optional in
Name = “text” : Required. Specifies the name of the HTTP header.
Action = “set” |
"add": Optional. Default is
"set", which replaces any current header value. Specify
"add" to append the header value, separated with a comma.
Allows adding new HTTP response headers as well as adding or replacing values of pre-defined headers. Names and values must conform to HTTP standards. No additional encoding is applied.
Image Serving substitution variables may be used in the header name and the header value. This allows controlling both strings from the request.
The following rule applies a custom header when the header value is specified in the request as a variable:
<rule OnMatch="continue"> <expression>\$Edge-Control=</expression> <header Name="Edge-Control">$Edge-Control$</header> </rule>
This rule is triggered by the following request, setting the HTTP response header