Last update: 2023-09-28
  • Created for:
  • Developer

HTTP response header element. Optional in <rule> elements.


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" so you can append the header value, separated with a comma.


Header value.


Allows adding new HTTP response headers and 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">
   <header Name="Edge-Control">$Edge-Control$</header>

This rule is triggered by the following request, setting the HTTP response header Edge-Control::no-store:


On this page