MCPcopy Index your code
hub / github.com/angular/angular / getHeadersToInclude

Function getHeadersToInclude

packages/common/http/src/transfer_cache.ts:154–162  ·  view source on GitHub ↗
(
  options: CacheOptions,
  requestOptions: HttpTransferCacheOptions | boolean | undefined,
)

Source from the content-addressed store, hash-verified

152}
153
154function getHeadersToInclude(
155 options: CacheOptions,
156 requestOptions: HttpTransferCacheOptions | boolean | undefined,
157): string[] | undefined {
158 // Request-specific config takes precedence over the global config.
159 return typeof requestOptions === 'object' && requestOptions.includeHeaders
160 ? requestOptions.includeHeaders
161 : options.includeHeaders;
162}
163
164/**
165 * Retrieves the cached response for a given request.

Callers 2

retrieveStateFromCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…