Home > @cerbos/core > RequestOptions > headers
Headers to add to the request.
Signature:
headers?: HeadersInit | undefined;
Headers can be included in the policy decision point's audit logs by setting the includeMetadataKeys
or excludeMetadataKeys
fields in the audit
configuration block.
The User-Agent
header is set using Options.userAgent.