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#L3524: p.SetHTTP1(true) // default always includes HTTP/1
server.go#L3547: have.SetHTTP1(true)
transport.go#L469: p.SetHTTP1(true) // default always includes HTTP/1
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)