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

Function hasSetCookieHeader

packages/common/http/src/transfer_cache.ts:369–371  ·  view source on GitHub ↗
(headers: HttpHeaders)

Source from the content-addressed store, hash-verified

367}
368
369function hasSetCookieHeader(headers: HttpHeaders): boolean {
370 return headers.has('set-cookie');
371}
372
373function isNonCacheableRequest(cache: RequestCache): boolean {
374 return cache === 'no-cache' || cache === 'no-store';

Callers 1

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected