net/http.Protocols.SetHTTP1 (method)
4 uses
net/http (current package)
http.go#L44: func (p *Protocols) SetHTTP1(ok bool) { p.setBit(protoHTTP1, ok) }
server.go#L3514: p.SetHTTP1(true) // default always includes HTTP/1
server.go#L3537: have.SetHTTP1(true)
transport.go#L461: p.SetHTTP1(true) // default always includes HTTP/1
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)