net/http.Request.ProtoMajor (field)
11 uses
net/http (current package)
h2_bundle.go#L6144: ProtoMajor: 2,
request.go#L137: ProtoMajor int // 1
request.go#L427: return r.ProtoMajor > major ||
request.go#L428: r.ProtoMajor == major && r.ProtoMinor >= minor
request.go#L926: ProtoMajor: 1,
request.go#L1114: if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
request.go#L1165: req.Close = shouldClose(req.ProtoMajor, req.ProtoMinor, req.Header, false)
request.go#L1523: if r.ProtoMajor != 1 || r.ProtoMinor != 0 {
server.go#L1122: if req.ProtoMajor == 1 {
server.go#L1127: if req.ProtoMajor == 2 && req.ProtoMinor == 0 &&
transfer.go#L509: t.ProtoMajor = rr.ProtoMajor
![]() |
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. |