MCPcopy Create free account
hub / github.com/imroc/req / noResponseBodyExpected

Function noResponseBodyExpected

transfer.go:221–223  ·  view source on GitHub ↗
(requestMethod string)

Source from the content-addressed store, hash-verified

219}
220
221func noResponseBodyExpected(requestMethod string) bool {
222 return requestMethod == "HEAD"
223}
224
225func (t *transferWriter) shouldSendContentLength() bool {
226 if chunked(t.TransferEncoding) {

Callers 2

readTransferFunction · 0.85
fixLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…