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