Append a response header. H2 pseudo header 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.
addResponseHeaderAction
The following table describes the customizable properties available for this action:
Property | Type | Description | DefaultValue |
---|---|---|---|
headerName | string | ||
headerValue | string |
The following examples apply this action to any exchanges
Add a content-security-policy
header on response.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: AddResponseHeaderAction
headerName: content-security-policy
headerValue: default-src 'none'
View definition of AddResponseHeaderAction for .NET integration.
The following actions are related to this action: