This policy is used to set or remove record headers.
Modify Headers
Related Documentation
OpenAPI Specifications
Incompatible with
on-prem
Tags
Example configuration
Example configurations for the Modify Headers policy.
Remove and replace a header
The following example removes a header named example-header1
and replaces it with example-header2
:
policies:
- name: modify-headers
type: modify_headers
spec:
actions:
- type: remove
remove:
- key: example-header
set:
- key: example-header2
value: example