net/http.Request.Proto (field)

8 uses

	net/http (current package)
		h2_bundle.go#L6088: 		Proto:      "HTTP/2.0",
		request.go#L139: 	Proto      string // "HTTP/1.0"
		request.go#L508: 	return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
		request.go#L891: 		Proto:      "HTTP/1.1",
		request.go#L1051: 	req.Method, req.RequestURI, req.Proto, ok = parseRequestLine(s)
		request.go#L1059: 	if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
		request.go#L1060: 		return nil, badStringError("malformed HTTP version", req.Proto)

	nhooyr.io/websocket
		accept.go#L164: 		return http.StatusUpgradeRequired, fmt.Errorf("WebSocket protocol violation: handshake request must be at least HTTP/1.1: %q", r.Proto)