func net/http.StatusText
13 uses
net/http (current package)
filetransport.go#L111: pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code))
h2_bundle.go#L9484: Status: status + " " + StatusText(statusCode),
response.go#L249: text = StatusText(r.StatusCode)
server.go#L1551: if text := StatusText(code); text != "" {
server.go#L1832: func (e statusError) Error() string { return StatusText(e.code) + ": " + e.text }
server.go#L1963: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
server.go#L1971: 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#L2246: body := "<a href=\"" + htmlEscape(url) + "\">" + StatusText(code) + "</a>.\n"
status.go#L81: func StatusText(code int) string {
nhooyr.io/websocket
accept.go#L101: err = errors.New(http.StatusText(http.StatusForbidden))
accept.go#L111: http.Error(w, http.StatusText(http.StatusNotImplemented), http.StatusNotImplemented)
accept.go#L142: http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
|
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. |