func net/http.ParseHTTPVersion

3 uses

	net/http (current package)
		request.go#L793: func ParseHTTPVersion(vers string) (major, minor int, ok bool) {
		request.go#L1059: 	if req.ProtoMajor, req.ProtoMinor, ok = ParseHTTPVersion(req.Proto); !ok {
		response.go#L183: 	if resp.ProtoMajor, resp.ProtoMinor, ok = ParseHTTPVersion(resp.Proto); !ok {