MCPcopy Index your code
hub / github.com/imroc/req / reqExpectsContinue

Function reqExpectsContinue

http_request.go:140–142  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

138}
139
140func reqExpectsContinue(r *http.Request) bool {
141 return hasToken(headerGet(r.Header, "Expect"), "100-continue")
142}
143
144func reqWantsClose(r *http.Request) bool {
145 if r.Close {

Callers 1

roundTripMethod · 0.85

Calls 2

hasTokenFunction · 0.85
headerGetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…