MCPcopy
hub / github.com/di-sukharev/opencommit / processBodyError

Function processBodyError

out/cli.cjs:60149–60149  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

60147 if (response.type === "opaque" && internalResponse.status === 206 && internalResponse.rangeRequested && !request3.headers.contains("range")) {
60148 response = internalResponse = makeNetworkError();
60149 }
60150 if (response.status !== 0 && (request3.method === "HEAD" || request3.method === "CONNECT" || nullBodyStatus.includes(internalResponse.status))) {
60151 internalResponse.body = null;
60152 fetchParams.controller.dump = true;

Callers 3

mainFetchFunction · 0.85
processBodyFunction · 0.85
httpNetworkFetchFunction · 0.85

Calls 5

fetchFinaleFunction · 0.85
makeNetworkErrorFunction · 0.85
isCancelledFunction · 0.85
abortMethod · 0.45
terminateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…