net/http.Response.Proto (field)
10 uses
net/http (current package)
filetransport.go#L55: Proto: "HTTP/1.0",
h2_bundle.go#L8478: Proto: "HTTP/2.0",
response.go#L38: Proto string // e.g. "HTTP/1.0"
response.go#L171: resp.Proto = line[:i]
response.go#L186: if resp.ProtoMajor, resp.ProtoMinor, ok = ParseHTTPVersion(resp.Proto); !ok {
response.go#L187: return nil, badStringError("malformed HTTP version", resp.Proto)
net/http/httptest
recorder.go#L170: Proto: "HTTP/1.1",
github.com/aws/aws-sdk-go/private/protocol
protocol.go#L25: if !strings.HasPrefix(r.HTTPResponse.Proto, "HTTP") {
protocol.go#L43: major, minor, r.HTTPResponse.Proto,
golang.org/x/net/http2
transport.go#L1975: Proto: "HTTP/2.0",
 |
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. |