export const enum HttpStatusCode { /** * @see https://tools.ietf.org/html/rfc7231#section-6.2.1 */ Continue = 100, /** * @see https://tools.ietf.org/html/rfc7231#section-6.2.2 */ SwitchingProtocols = 101, /** * @see https://tools.ietf.org/html/rfc2518#section-10.1 */ Processing = 102, /** * @see https://tools.ietf.org/html/rfc8297#section-2 */ EarlyHints = 103, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.1 */ Ok = 200, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.2 */ Created = 201, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.3 */ Accepted = 202, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.4 */ NonAuthoritativeInformation = 203, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.5 */ NoContent = 204, /** * @see https://tools.ietf.org/html/rfc7231#section-6.3.6 */ ResetContent = 205, /** * @see https://tools.ietf.org/html/rfc7233#section-4.1 */ PartialContent = 206, /** * @see https://tools.ietf.org/html/rfc4918#section-11.1 */ MultiStatus = 207, /** * @see https://tools.ietf.org/html/rfc5842#section-7.1 */ AlreadyReported = 208, /** * @see https://tools.ietf.org/html/rfc3229#section-10.4.1 */ IMUsed = 226, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.1 */ MultipleChoices = 300, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.2 */ MovedPermanently = 301, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.3 */ Found = 302, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.4 */ SeeOther = 303, /** * @see https://tools.ietf.org/html/rfc7232#section-4.1 */ NotModified = 304, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.5 */ UseProxy = 305, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.6 */ '(Unused)' = 306, /** * @see https://tools.ietf.org/html/rfc7231#section-6.4.7 */ TemporaryRedirect = 307, /** * @see https://tools.ietf.org/html/rfc7538#section-3 */ PermanentRedirect = 308, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.1 */ BadRequest = 400, /** * @see https://tools.ietf.org/html/rfc7235#section-3.1 */ Unauthorized = 401, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.2 */ PaymentRequired = 402, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.3 */ Forbidden = 403, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.4 */ NotFound = 404, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.5 */ MethodNotAllowed = 405, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.6 */ NotAcceptable = 406, /** * @see https://tools.ietf.org/html/rfc7235#section-3.2 */ ProxyAuthenticationRequired = 407, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.7 */ RequestTimeout = 408, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.8 */ Conflict = 409, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.9 */ Gone = 410, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.10 */ LengthRequired = 411, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.11 */ PayloadTooLarge = 413, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.12 */ URITooLong = 414, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.13 */ UnsupportedMediaType = 415, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.14 */ ExpectationFailed = 417, /** * @see https://tools.ietf.org/html/rfc2324#section-2.3.2 */ ImATeapot = 418, /** * @see https://tools.ietf.org/html/rfc7540#section-9.1.2 */ MisdirectedRequest = 421, /** * @see https://tools.ietf.org/html/rfc4918#section-11.2 */ UnprocessableEntity = 422, /** * @see https://tools.ietf.org/html/rfc4918#section-11.3 */ Locked = 423, /** * @see https://tools.ietf.org/html/rfc4918#section-11.4 */ FailedDependency = 424, /** * @see https://tools.ietf.org/html/rfc8470#section-5.2 */ TooEarly = 425, /** * @see https://tools.ietf.org/html/rfc7231#section-6.5.15 */ UpgradeRequired = 426, /** * @see https://tools.ietf.org/html/rfc6585#section-3 */ PreconditionRequired = 428, /** * @see https://tools.ietf.org/html/rfc6585#section-4 */ TooManyRequests = 429, /** * @see https://tools.ietf.org/html/rfc6585#section-5 */ RequestHeaderFieldsTooLarge = 431, /** * @see https://tools.ietf.org/html/rfc7725#section-3 */ UnavailableForLegalReasons = 451, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.1 */ InternalServerError = 500, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.2 */ NotImplemented = 501, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.3 */ BadGateway = 502, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.4 */ ServiceUnavailable = 503, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.5 */ GatewayTimeout = 504, /** * @see https://tools.ietf.org/html/rfc7231#section-6.6.6 */ HTTPVersionNotSupported = 505, /** * @see https://tools.ietf.org/html/rfc2295#section-8.1 */ VariantAlsoNegotiates = 506, /** * @see https://tools.ietf.org/html/rfc4918#section-11.5 */ InsufficientStorage = 507, /** * @see https://tools.ietf.org/html/rfc5842#section-7.2 */ LoopDetected = 508, /** * @see https://tools.ietf.org/html/rfc2774#section-7 */ NotExtended = 510, /** * @see https://tools.ietf.org/html/rfc6585#section-6 */ NetworkAuthenticationRequired = 511, }