net/http.Response.ProtoMajor (field)

8 uses

	net/http (current package)
		filetransport.go#L56: 			ProtoMajor: 1,
		h2_bundle.go#L9481: 		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#L225: 	return r.ProtoMajor > major ||
		response.go#L226: 		r.ProtoMajor == major && r.ProtoMinor >= minor
		response.go#L259: 	if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
		transfer.go#L495: 		t.ProtoMajor = rr.ProtoMajor