net/http.Request.ProtoMajor (field)
11 uses
net/http (current package)
h2_bundle.go#L6089: ProtoMajor: 2,
request.go#L140: ProtoMajor int // 1
request.go#L405: return r.ProtoMajor > major ||
request.go#L406: r.ProtoMajor == major && r.ProtoMinor >= minor
request.go#L892: ProtoMajor: 1,
request.go#L1059: if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
request.go#L1110: req.Close = shouldClose(req.ProtoMajor, req.ProtoMinor, req.Header, false)
request.go#L1420: if r.ProtoMajor != 1 || r.ProtoMinor != 0 {
server.go#L1073: if req.ProtoMajor == 1 {
server.go#L1078: if req.ProtoMajor == 2 && req.ProtoMinor == 0 &&
transfer.go#L505: t.ProtoMajor = rr.ProtoMajor
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. |