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

Method request

out/cli.cjs:69722–69724  ·  view source on GitHub ↗
(options, remainingRetries = null)

Source from the content-addressed store, hash-verified

69720 async prepareRequest(request3, { url: url2, options }) {
69721 }
69722 parseHeaders(headers) {
69723 return !headers ? {} : Symbol.iterator in headers ? Object.fromEntries(Array.from(headers).map((header) => [...header])) : { ...headers };
69724 }
69725 makeStatusError(status, error, message, headers) {
69726 return APIError.generate(status, error, message, headers);
69727 }

Callers 10

getFunction · 0.45
reqFunction · 0.45
_doMethod · 0.45
writeH2Function · 0.45
methodRequestMethod · 0.45
cli.cjsFile · 0.45
generateHTTPMethodFunction · 0.45
makeRequestMethod · 0.45

Calls 3

makeRequestMethod · 0.80
_requestMethod · 0.80
endsWithMethod · 0.80

Tested by

no test coverage detected