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

Method delete

github-actions/browserstack/set-browserstack-env.js:12342–12350  ·  view source on GitHub ↗

* @see https://fetch.spec.whatwg.org/#concept-header-list-delete * @param {string} name * @param {boolean} isLowerCase

(name, isLowerCase)

Source from the content-addressed store, hash-verified

12340 this[kHeadersSortedMap] = null;
12341 this.cookies = null;
12342 }
12343 /**
12344 * @see https://fetch.spec.whatwg.org/#concept-header-list-append
12345 * @param {string} name
12346 * @param {string} value
12347 * @param {boolean} isLowerCase
12348 */
12349 append(name, value, isLowerCase) {
12350 var _a;
12351 this[kHeadersSortedMap] = null;
12352 const lowercaseName = isLowerCase ? name : name.toLowerCase();
12353 const exists2 = this[kHeadersMap].get(lowercaseName);

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected