net/http.Request.ProtoAtLeast (method)
10 uses
net/http (current package)
request.go#L398: func (r *Request) ProtoAtLeast(major, minor int) bool {
server.go#L1003: if req.ProtoAtLeast(1, 1) && (!haveHost || len(hosts) == 0) && !isH2Upgrade && req.Method != "CONNECT" {
server.go#L1313: } else if !w.req.ProtoAtLeast(1, 1) || w.wantsClose {
server.go#L1436: } else if w.req.ProtoAtLeast(1, 1) {
server.go#L1467: if !w.req.ProtoAtLeast(1, 0) {
server.go#L1479: if w.req.ProtoAtLeast(1, 1) {
server.go#L1484: writeStatusLine(w.conn.bufw, w.req.ProtoAtLeast(1, 1), code, w.statusBuf[:])
server.go#L1927: if req.ProtoAtLeast(1, 1) && req.ContentLength != 0 {
server.go#L2441: if r.ProtoAtLeast(1, 1) {
transport.go#L2565: if req.ProtoAtLeast(1, 1) && req.Body != nil && req.expectsContinue() {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |