StatusCodes

HTTP status codes and their human-readable names.

Values

ValueMeaning
continue_Status(100, "Continue")
switchingProtocolsStatus(101, "Switching Protocols")
okStatus(200, "OK")
createdStatus(201, "Created")
acceptedStatus(202, "Accepted")
nonAuthoritativeContentStatus(203, "Non-Authoritative Information")
noContentStatus(204, "No Content")
resetContentStatus(205, "Reset Content")
partialContentStatus(206, "Partial Content")
multipleChoicesStatus(300, "Multiple Choices")
movedPermanentlyStatus(301, "Moved Permanently")
foundStatus(302, "Found")
seeOtherStatus(303, "See Other")
notModifiedStatus(304, "Not Modified")
useProxyStatus(305, "Use Proxy")
switchProxyStatus(306, "Switch Proxy")
temporaryRedirectStatus(307, "Temporary Redirect")
permanentRedirectStatus(308, "Permanent Redirect")
badRequestStatus(400, "Bad Request")
unauthorizedStatus(401, "Unauthorized")
paymentRequiredStatus(402, "Payment Required")
forbiddenStatus(403, "Forbidden")
notFoundStatus(404, "Not Found")
methodNotAllowedStatus(405, "Method Not Allowed")
notAcceptableStatus(406, "Not Acceptable")
proxyAuthenticationRequiredStatus(407, "Proxy Authentication Required")
requestTimeoutStatus(408, "Request Timeout")
conflictStatus(409, "Conflict")
goneStatus(410, "Gone")
lengthRequiredStatus(411, "Length Required")
preconditionFailedStatus(412, "Precondition Failed")
payloadTooLargeStatus(413, "Payload Too Large")
uriTooLongStatus(414, "URI Too Long")
unsupportedMediaTypeStatus(415, "Unsupported Media Type")
rangeNotSatisfiableStatus(416, "Range Not Satisfiable")
expectationFailedStatus(417, "Expectation Failed")
internalServerErrorStatus(500, "Internal Server Error")
notImplementedStatus(501, "Not Implemented")
badGatewayStatus(502, "Bad Gateway")
serviceUnavailableStatus(503, "Service Unavailable")
gatewayTimeoutStatus(504, "Gateway Timeout")
httpVersionNotSupportedStatus(505, "HTTP Version Not Supported")

Meta