deleteResponseHeaderAction
Description
Remove response headers. This action removes every occurrence of the header from the response.
Evaluation scope
Evaluation scope defines the timing where this filter will be applied.
{.alert .alert-info} ::: responseHeaderReceivedFromRemote This scope occurs the moment fluxzy has done parsing the response header. :::
YAML configuration name
deleteResponseHeaderAction
Settings
The following table describes the customizable properties available for this action:
{.property-table .property-table-action} ::: | Property | Type | Description | DefaultValue | | :------- | :------- | :------- | -------- | | headerName | string | | |
:::
Example of usage
The following examples apply this action to any exchanges
Remove every Set-Cookie header from response.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: DeleteResponseHeaderAction
headerName: Set-Cookie
.NET reference
View definition of DeleteResponseHeaderAction for .NET integration.
See also
The following actions are related to this action:
- addRequestHeaderAction
- addResponseHeaderAction
- updateRequestHeaderAction
- updateResponseHeaderAction
- deleteRequestHeaderAction
- deleteResponseHeaderAction <<<<<<< HEAD =======
- setUserAgentAction
b5d51bd2a3f1870beb9607eaba46ac93d959bb15