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

Function shouldSendContentLength

github-actions/saucelabs/set-saucelabs-env.js:6632–6634  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

6630 }
6631 } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {
6632 if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {
6633 const request = client[kQueue][client[kRunningIdx]];
6634 const headersTimeout = request.headersTimeout != null ? request.headersTimeout : client[kHeadersTimeout];
6635 socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS);
6636 }
6637 }

Callers 2

writeH1Function · 0.70
writeH2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected