Expand description
Header manipulation logic for request and response headers.
Provides functionality to add, set, and remove headers based on configuration.
§Security
Sensitive header values (Authorization, Cookie, API keys, etc.) are automatically redacted in debug logs to prevent credential leakage through log aggregation systems.
Structs§
Functions§
- apply_
request_ headers - Apply header operations to a request header.
- apply_
response_ headers - Apply header operations to a response header.
- apply_
security_ response_ headers - Inject baseline security headers onto a response.