net/http.Request.Proto (field)

10 uses

	net/http (current package)
		h2_bundle.go#L5677: 		Proto:      "HTTP/2.0",
		request.go#L130: 	Proto      string // "HTTP/1.0"
		request.go#L496: 	return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
		request.go#L880: 		Proto:      "HTTP/1.1",
		request.go#L1038: 	req.Method, req.RequestURI, req.Proto, ok = parseRequestLine(s)
		request.go#L1046: 	if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
		request.go#L1047: 		return nil, badStringError("malformed HTTP version", req.Proto)

	net/http/httptest
		httptest.go#L50: 	req.Proto = "HTTP/1.1"

	github.com/prometheus/client_golang/prometheus/promhttp
		instrument_server.go#L305: 	s += len(r.Proto)

	golang.org/x/net/http2
		server.go#L2122: 		Proto:      "HTTP/2.0",