net/http.Response.Status (field)
23 uses
net/http (current package)
filetransport.go#L111: pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code))
h2_bundle.go#L8482: Status: status + " " + StatusText(statusCode),
response.go#L36: Status string // e.g. "200 OK"
response.go#L172: resp.Status = strings.TrimLeft(line[i+1:], " ")
response.go#L174: statusCode := resp.Status
response.go#L175: if i := strings.IndexByte(resp.Status, ' '); i != -1 {
response.go#L176: statusCode = resp.Status[:i]
response.go#L247: text := r.Status
transport.go#L1714: f := strings.SplitN(resp.Status, " ", 2)
net/http/httptest
recorder.go#L180: res.Status = fmt.Sprintf("%03d %s", res.StatusCode, http.StatusText(res.StatusCode))
github.com/aws/aws-sdk-go/aws/corehandlers
handlers.go#L147: Status: http.StatusText(int(code)),
handlers.go#L158: Status: http.StatusText(int(0)),
github.com/aws/aws-sdk-go/aws/ec2metadata
api.go#L44: awserr.New(req.HTTPResponse.Status, http.StatusText(req.HTTPResponse.StatusCode), err),
go.opencensus.io/plugin/ochttp
trace.go#L92: span.SetStatus(TraceStatus(resp.StatusCode, resp.Status))
golang.org/x/net/http2
transport.go#L1979: Status: status + " " + http.StatusText(statusCode),
golang.org/x/oauth2
token.go#L177: return fmt.Sprintf("oauth2: cannot fetch token: %v\nResponse: %s", r.Response.Status, r.Body)
golang.org/x/oauth2/internal
token.go#L293: return fmt.Sprintf("oauth2: cannot fetch token: %v\nResponse: %s", r.Response.Status, r.Body)
golang.org/x/pkgsite/cmd/prober
main.go#L372: status.Text = fmt.Sprintf("FAILED with status %s", res.Status)
main.go#L373: record(res.Status)
golang.org/x/pkgsite/internal/config
config.go#L584: return "", fmt.Errorf("bad status: %s", resp.Status)
golang.org/x/pkgsite/internal/proxy
client.go#L301: return fmt.Errorf("unexpected status %d %s", r.StatusCode, r.Status)
golang.org/x/pkgsite/internal/source
source.go#L250: return nil, fmt.Errorf("status %s", resp.Status)
google.golang.org/grpc
proxy.go#L110: return nil, fmt.Errorf("failed to do connect handshake, status code: %s", resp.Status)
 |
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. |