net/http.Request.ProtoMajor (field)
12 uses
net/http (current package)
clientconn.go#L142: ProtoMajor: 1,
h2_bundle.go#L6310: ProtoMajor: 2,
request.go#L138: ProtoMajor int // 1
request.go#L418: return r.ProtoMajor > major ||
request.go#L419: r.ProtoMajor == major && r.ProtoMinor >= minor
request.go#L917: ProtoMajor: 1,
request.go#L1105: if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
request.go#L1156: req.Close = shouldClose(req.ProtoMajor, req.ProtoMinor, req.Header, false)
request.go#L1514: if r.ProtoMajor != 1 || r.ProtoMinor != 0 {
server.go#L1078: if req.ProtoMajor == 1 {
server.go#L1083: if req.ProtoMajor == 2 && req.ProtoMinor == 0 &&
transfer.go#L510: t.ProtoMajor = rr.ProtoMajor
![]() |
The pages are generated with Golds v0.8.4. (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. |