add header
Adds a header to be returned to the client.
Arguments
- header
- The name of the header to add.
- value
- The value of the header. This can include replacements from the last pattern matched. For more information about expressions, see the Expressions topic.
Remarks
When executed, this action adds the specified header and value to the collection of headers to return to the client. Processing continues at the next rewrite rule.
Examples
<add header="X-Powered-By" value="UrlRewriter.NET" />