func net/http.StatusText
13 uses
net/http (current package)
filetransport.go#L131: pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code))
http2.go#L338: resp.Status = cresp.Status + " " + StatusText(cresp.StatusCode)
response.go#L253: text = StatusText(r.StatusCode)
server.go#L1616: if text := StatusText(code); text != "" {
server.go#L1923: func (e statusError) Error() string { return StatusText(e.code) + ": " + e.text }
server.go#L2107: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
server.go#L2115: 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#L2489: body := "<a href=\"" + htmlEscape(url) + "\">" + StatusText(code) + "</a>.\n"
server.go#L2779: Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)
status.go#L81: func StatusText(code int) string {
go.pact.im/x/httprange
errors.go#L35: text = http.StatusText(e.StatusCode)
google.golang.org/grpc/internal/transport
http2_client.go#L1588: http.StatusText(statusCode),