Update and existing response header. If the header does not exists in the original response, the header will be added.
Use {{previous}} keyword to refer to the original value of the header.
Note Headers that alter the connection behaviour will be ignored.
Evaluation scope defines the timing where this filter will be applied.
responseHeaderReceivedFromRemote This scope occurs the moment fluxzy has done parsing the response header.
updateResponseHeaderAction
The following table describes the customizable properties available for this action:
Property | Type | Description | DefaultValue |
---|---|---|---|
headerName | string | ||
headerValue | string | ||
addIfMissing | boolean | false |
The following examples apply this action to any exchanges
Update the Server header.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: UpdateResponseHeaderAction
headerName: Server
headerValue: Fluxzy
View definition of UpdateResponseHeaderAction for .NET integration.
The following actions are related to this action: