go/src/net/http/status.go

const StatusContinue

const StatusSwitchingProtocols

const StatusProcessing

const StatusEarlyHints

const StatusOK

const StatusCreated

const StatusAccepted

const StatusNonAuthoritativeInfo

const StatusNoContent

const StatusResetContent

const StatusPartialContent

const StatusMultiStatus

const StatusAlreadyReported

const StatusIMUsed

const StatusMultipleChoices

const StatusMovedPermanently

const StatusFound

const StatusSeeOther

const StatusNotModified

const StatusUseProxy

const _

const StatusTemporaryRedirect

const StatusPermanentRedirect

const StatusBadRequest

const StatusUnauthorized

const StatusPaymentRequired

const StatusForbidden

const StatusNotFound

const StatusMethodNotAllowed

const StatusNotAcceptable

const StatusProxyAuthRequired

const StatusRequestTimeout

const StatusConflict

const StatusGone

const StatusLengthRequired

const StatusPreconditionFailed

const StatusRequestEntityTooLarge

const StatusRequestURITooLong

const StatusUnsupportedMediaType

const StatusRequestedRangeNotSatisfiable

const StatusExpectationFailed

const StatusTeapot

const StatusMisdirectedRequest

const StatusUnprocessableEntity

const StatusLocked

const StatusFailedDependency

const StatusTooEarly

const StatusUpgradeRequired

const StatusPreconditionRequired

const StatusTooManyRequests

const StatusRequestHeaderFieldsTooLarge

const StatusUnavailableForLegalReasons

const StatusInternalServerError

const StatusNotImplemented

const StatusBadGateway

const StatusServiceUnavailable

const StatusGatewayTimeout

const StatusHTTPVersionNotSupported

const StatusVariantAlsoNegotiates

const StatusInsufficientStorage

const StatusLoopDetected

const StatusNotExtended

const StatusNetworkAuthenticationRequired

// StatusText returns a text for the HTTP status code. It returns the empty
// string if the code is unknown.
func StatusText(code int) string {}