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

Function cancelAlgorithm

github-actions/browserstack/set-browserstack-env.js:14665–14669  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

14663 if (!httpRequest.headersList.contains("pragma", true)) {
14664 httpRequest.headersList.append("pragma", "no-cache", true);
14665 }
14666 if (!httpRequest.headersList.contains("cache-control", true)) {
14667 httpRequest.headersList.append("cache-control", "no-cache", true);
14668 }
14669 }
14670 if (httpRequest.headersList.contains("range", true)) {
14671 httpRequest.headersList.append("accept-encoding", "identity", true);
14672 }

Callers 1

cancelFunction · 0.70

Calls 2

isCancelledFunction · 0.70
abortMethod · 0.45

Tested by

no test coverage detected