<headerFilter>
<include>{regex-pattern}</include>
<exclude>{regex-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.
<api port="80">
<headerFilter>
<include>Content.*</include>
<include>Location</include>
<exclude>.*</exclude>
</headerFilter>
<target url="https://membrane-api.io" />
</api>| 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..* |