net/http.Response.ProtoMajor (field)
8 uses
net/http (current package)
filetransport.go#L56: ProtoMajor: 1,
h2_bundle.go#L9481: ProtoMajor: 2,
response.go#L39: ProtoMajor int // e.g. 1
response.go#L183: 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#L259: if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
transfer.go#L495: t.ProtoMajor = rr.ProtoMajor
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |