func vendor/golang.org/x/net/http/httpguts.HeaderValuesContainsToken
7 uses
vendor/golang.org/x/net/http/httpguts (current package)
httplex.go#L106: func HeaderValuesContainsToken(values []string, token string) bool {
net/http
h2_bundle.go#L6035: needsContinue := httpguts.HeaderValuesContainsToken(rp.header["Expect"], "100-continue")
h2_bundle.go#L8482: if !httpguts.HeaderValuesContainsToken(req.Header["Expect"], "100-continue") {
h2_bundle.go#L10181: return req.Close || httpguts.HeaderValuesContainsToken(req.Header["Connection"], "close")
response.go#L370: httpguts.HeaderValuesContainsToken(h["Connection"], "Upgrade")
transfer.go#L748: hasClose := httpguts.HeaderValuesContainsToken(conv, "close")
transfer.go#L750: return hasClose || !httpguts.HeaderValuesContainsToken(conv, "keep-alive")
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |