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

Function hasOutgoingCredentials

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

Source from the content-addressed store, hash-verified

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

Callers 1

canUseOrCacheRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected