net/http.Request.ProtoMajor (field)
14 uses
net/http (current package)
h2_bundle.go#L5678: ProtoMajor: 2,
request.go#L131: ProtoMajor int // 1
request.go#L399: return r.ProtoMajor > major ||
request.go#L400: r.ProtoMajor == major && r.ProtoMinor >= minor
request.go#L881: ProtoMajor: 1,
request.go#L1046: if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
request.go#L1097: req.Close = shouldClose(req.ProtoMajor, req.ProtoMinor, req.Header, false)
request.go#L1388: if r.ProtoMajor != 1 || r.ProtoMinor != 0 {
server.go#L1063: if req.ProtoMajor == 1 {
server.go#L1068: if req.ProtoMajor == 2 && req.ProtoMinor == 0 &&
transfer.go#L501: t.ProtoMajor = rr.ProtoMajor
net/http/httputil
dump.go#L244: reqURI, req.ProtoMajor, req.ProtoMinor)
golang.org/x/net/http2
server.go#L2123: ProtoMajor: 2,
google.golang.org/grpc/internal/transport
handler_server.go#L53: if r.ProtoMajor != 2 {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |