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

Function hasSetCookieHeader

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected