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

Function processBodyChunk

github-actions/browserstack/set-browserstack-env.js:14593–14602  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

14591 }
14592 response.urlList = [...httpRequest.urlList];
14593 if (httpRequest.headersList.contains("range", true)) {
14594 response.rangeRequested = true;
14595 }
14596 response.requestIncludesCredentials = includeCredentials;
14597 if (response.status === 407) {
14598 if (request.window === "no-window") {
14599 return makeNetworkError();
14600 }
14601 if (isCancelled(fetchParams)) {
14602 return makeAppropriateNetworkError(fetchParams);
14603 }
14604 return makeNetworkError("proxy authentication required");
14605 }

Callers 1

httpNetworkFetchFunction · 0.70

Calls 2

__asyncGeneratorFunction · 0.70
isCancelledFunction · 0.70

Tested by

no test coverage detected