net/http.Response.ProtoMajor (field)
11 uses
net/http (current package)
filetransport.go#L56: ProtoMajor: 1,
h2_bundle.go#L8479: ProtoMajor: 2,
response.go#L39: ProtoMajor int // e.g. 1
response.go#L186: if resp.ProtoMajor, resp.ProtoMinor, ok = ParseHTTPVersion(resp.Proto); !ok {
response.go#L225: return r.ProtoMajor > major ||
response.go#L226: r.ProtoMajor == major && r.ProtoMinor >= minor
response.go#L260: if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
transfer.go#L491: t.ProtoMajor = rr.ProtoMajor
net/http/httptest
recorder.go#L171: ProtoMajor: 1,
github.com/aws/aws-sdk-go/private/protocol
protocol.go#L29: if r.HTTPResponse.ProtoMajor < p.Major || r.HTTPResponse.ProtoMinor < p.Minor {
golang.org/x/net/http2
transport.go#L1976: ProtoMajor: 2,
 |
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. |