func vendor/golang.org/x/net/http/httpguts.HeaderValuesContainsToken
7 uses
vendor/golang.org/x/net/http/httpguts (current package)
httplex.go#L101: func HeaderValuesContainsToken(values []string, token string) bool {
net/http
h2_bundle.go#L6090: needsContinue := httpguts.HeaderValuesContainsToken(rp.header["Expect"], "100-continue")
h2_bundle.go#L8606: if !httpguts.HeaderValuesContainsToken(req.Header["Expect"], "100-continue") {
h2_bundle.go#L10349: return req.Close || httpguts.HeaderValuesContainsToken(req.Header["Connection"], "close")
response.go#L370: httpguts.HeaderValuesContainsToken(h["Connection"], "Upgrade")
transfer.go#L753: hasClose := httpguts.HeaderValuesContainsToken(conv, "close")
transfer.go#L755: return hasClose || !httpguts.HeaderValuesContainsToken(conv, "keep-alive")
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |