MCPcopy Create free account
hub / github.com/angular/angular / hasOutgoingCredentials

Function hasOutgoingCredentials

packages/common/http/src/transfer_cache.ts:380–384  ·  view source on GitHub ↗
(req: HttpRequest<unknown>)

Source from the content-addressed store, hash-verified

378}
379
380function hasOutgoingCredentials(req: HttpRequest<unknown>): boolean {
381 const {withCredentials, credentials} = req;
382
383 return withCredentials || credentials === 'include' || credentials === 'same-origin';
384}
385
386function getFilteredHeaders(
387 headers: HttpHeaders,

Callers 1

canUseOrCacheRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected