<headerFilter>
[<include>pattern</include> | <exclude>pattern</exclude>]...
</headerFilter>
In the example, only headers starting with Content or the Location header will be kept; all others will be removed from requests and responses.
<serviceProxy port="80">
<headerFilter>
<include>Content.*<include>
<include>Location<include>
<exclude>.*<exclude>
</headerFilter>
<target host="www.membrane-soa.org" />
</serviceProxy>
Elements | Description | Cardinality |
---|---|---|
exclude | List of actions to take (either allowing or removing HTTP headers). | 0..* |
include | List of actions to take (either allowing or removing HTTP headers). | 0..* |