func net/http.StatusText
13 uses
net/http (current package)
filetransport.go#L130: pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code))
h2_bundle.go#L10081: Status: status + " " + StatusText(statusCode),
response.go#L249: text = StatusText(r.StatusCode)
server.go#L1610: if text := StatusText(code); text != "" {
server.go#L1911: func (e statusError) Error() string { return StatusText(e.code) + ": " + e.text }
server.go#L2056: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
server.go#L2064: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s: %s%s%d %s: %s", v.code, StatusText(v.code), v.text, errorHeaders, v.code, StatusText(v.code), v.text)
server.go#L2423: body := "<a href=\"" + htmlEscape(url) + "\">" + StatusText(code) + "</a>.\n"
server.go#L2708: Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)
status.go#L81: func StatusText(code int) string {
golang.org/x/net/http2
transport.go#L2403: Status: status + " " + http.StatusText(statusCode),
google.golang.org/grpc/internal/transport
http2_client.go#L1521: http.StatusText(statusCode),