Skip to content

Function: inheritedBatchHeaders() ​

inheritedBatchHeaders(batchHeaders): Record<string, string>

Defined in: batch/batch-dispatch.ts:125

The headers of the $batch request that its operations inherit (compute once per batch): credentials such as Authorization and Cookie, Accept-Language, OData-MaxVersion, custom headers — not the ones in NOT_INHERITED, nor HTTP/2 pseudo-headers (:path). Parts MUST NOT carry authentication headers (§11.7.7.1), so the credentials of the batch request apply to every operation.

Parameters ​

batchHeaders ​

Readonly<Record<string, string | string[] | undefined>>

Returns ​

Record<string, string>