net/http.Response.ProtoMajor (field)

11 uses

	net/http (current package)
		filetransport.go#L56: 			ProtoMajor: 1,
		h2_bundle.go#L8957: 		ProtoMajor: 2,
		response.go#L39: 	ProtoMajor int    // e.g. 1
		response.go#L183: 	if resp.ProtoMajor, resp.ProtoMinor, ok = ParseHTTPVersion(resp.Proto); !ok {
		response.go#L222: 	return r.ProtoMajor > major ||
		response.go#L223: 		r.ProtoMajor == major && r.ProtoMinor >= minor
		response.go#L257: 	if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
		transfer.go#L493: 		t.ProtoMajor = rr.ProtoMajor

	net/http/httptest
		recorder.go#L190: 		ProtoMajor: 1,

	github.com/aws/smithy-go/transport/http
		middleware_min_proto.go#L70: 	if response.ProtoMajor < r.ProtoMajor || response.ProtoMinor < r.ProtoMinor {

	golang.org/x/net/http2
		transport.go#L2366: 		ProtoMajor: 2,