MCPcopy Create free account
hub / github.com/angular/dev-infra / append

Method append

github-actions/browserstack/set-browserstack-env.js:12458–12465  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

12456 this[kHeadersMap] = new Map(init[kHeadersMap]);
12457 this[kHeadersSortedMap] = init[kHeadersSortedMap];
12458 this.cookies = init.cookies === null ? null : [...init.cookies];
12459 } else {
12460 this[kHeadersMap] = new Map(init);
12461 this[kHeadersSortedMap] = null;
12462 }
12463 }
12464 /**
12465 * @see https://fetch.spec.whatwg.org/#header-list-contains
12466 * @param {string} name
12467 * @param {boolean} isLowerCase
12468 */

Callers 12

formDataFunction · 0.45
appendHeaderFunction · 0.45
redirectMethod · 0.45
initializeResponseFunction · 0.45
constructorMethod · 0.45
fetchingFunction · 0.45
httpNetworkOrCacheFetchFunction · 0.45
onHeadersFunction · 0.45
onUpgradeFunction · 0.45
setCookieFunction · 0.45

Calls 1

appendHeaderFunction · 0.70

Tested by

no test coverage detected