net/http.Request.ProtoAtLeast (method)

12 uses

	net/http (current package)
		request.go#L404: func (r *Request) ProtoAtLeast(major, minor int) bool {
		server.go#L1016: 	if req.ProtoAtLeast(1, 1) && (!haveHost || len(hosts) == 0) && !isH2Upgrade && req.Method != "CONNECT" {
		server.go#L1169: 		writeStatusLine(w.conn.bufw, w.req.ProtoAtLeast(1, 1), code, w.statusBuf[:])
		server.go#L1345: 	} else if !w.req.ProtoAtLeast(1, 1) || w.wantsClose {
		server.go#L1468: 	} else if w.req.ProtoAtLeast(1, 1) {
		server.go#L1500: 	if !w.req.ProtoAtLeast(1, 0) {
		server.go#L1512: 		if w.req.ProtoAtLeast(1, 1) {
		server.go#L1517: 	writeStatusLine(w.conn.bufw, w.req.ProtoAtLeast(1, 1), code, w.statusBuf[:])
		server.go#L1983: 			if req.ProtoAtLeast(1, 1) && req.ContentLength != 0 {
		server.go#L2507: 		if r.ProtoAtLeast(1, 1) {
		transport.go#L2607: 	if req.ProtoAtLeast(1, 1) && req.Body != nil && req.expectsContinue() {

	nhooyr.io/websocket
		accept.go#L163: 	if !r.ProtoAtLeast(1, 1) {