UNPKG

@status/codes

Version:

A collection of status code enums

93 lines (86 loc) 5.36 kB
var $dfecd32049fa58e9$exports = require("./status-codes.62943ae3.js"); function $parcel$export(e, n, v, s) { Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); } $parcel$export(module.exports, "Http", () => $071fc1f89bbb01d6$export$2a5b27776dbece47); $parcel$export(module.exports, "HttpUnofficial", () => $071fc1f89bbb01d6$export$8301461414a0d461); $parcel$export(module.exports, "HttpExtended", () => $071fc1f89bbb01d6$export$6408e65d1a2e2cf7); var $071fc1f89bbb01d6$export$2a5b27776dbece47 = /*#__PURE__*/ function(Http) { Http[Http["Continue"] = 100] = "Continue"; Http[Http["SwitchingProtocols"] = 101] = "SwitchingProtocols"; Http[Http["Processing"] = 102] = "Processing"; Http[Http["EarlyHints"] = 103] = "EarlyHints"; Http[Http["Ok"] = 200] = "Ok"; Http[Http["Created"] = 201] = "Created"; Http[Http["Accepted"] = 202] = "Accepted"; Http[Http["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation"; Http[Http["NoContent"] = 204] = "NoContent"; Http[Http["ResetContent"] = 205] = "ResetContent"; Http[Http["PartialContent"] = 206] = "PartialContent"; Http[Http["MultiStatus"] = 207] = "MultiStatus"; Http[Http["AlreadyReported"] = 208] = "AlreadyReported"; Http[Http["ImUsed"] = 226] = "ImUsed"; Http[Http["MultipleChoices"] = 300] = "MultipleChoices"; Http[Http["MovedPermanently"] = 301] = "MovedPermanently"; Http[Http["Found"] = 302] = "Found"; Http[Http["SeeOther"] = 303] = "SeeOther"; Http[Http["NotModified"] = 304] = "NotModified"; Http[Http["UseProxy"] = 305] = "UseProxy"; Http[Http["Unused"] = 306] = "Unused"; Http[Http["TemporaryRedirect"] = 307] = "TemporaryRedirect"; Http[Http["PermanentRedirect"] = 308] = "PermanentRedirect"; Http[Http["BadRequest"] = 400] = "BadRequest"; Http[Http["Unauthorized"] = 401] = "Unauthorized"; Http[Http["PaymentRequired"] = 402] = "PaymentRequired"; Http[Http["Forbidden"] = 403] = "Forbidden"; Http[Http["NotFound"] = 404] = "NotFound"; Http[Http["MethodNotAllowed"] = 405] = "MethodNotAllowed"; Http[Http["NotAcceptable"] = 406] = "NotAcceptable"; Http[Http["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; Http[Http["RequestTimeout"] = 408] = "RequestTimeout"; Http[Http["Conflict"] = 409] = "Conflict"; Http[Http["Gone"] = 410] = "Gone"; Http[Http["LengthRequired"] = 411] = "LengthRequired"; Http[Http["PreconditionFailed"] = 412] = "PreconditionFailed"; Http[Http["PayloadTooLarge"] = 413] = "PayloadTooLarge"; Http[Http["UriTooLong"] = 414] = "UriTooLong"; Http[Http["UnsupportedMediaType"] = 415] = "UnsupportedMediaType"; Http[Http["RangeNotSatisfiable"] = 416] = "RangeNotSatisfiable"; Http[Http["ExpectationFailed"] = 417] = "ExpectationFailed"; Http[Http["ImATeapot"] = 418] = "ImATeapot"; Http[Http["MisdirectedRequest"] = 421] = "MisdirectedRequest"; Http[Http["UnprocessableEntity"] = 422] = "UnprocessableEntity"; Http[Http["Locked"] = 423] = "Locked"; Http[Http["FailedDependency"] = 424] = "FailedDependency"; Http[Http["UpgradeRequired"] = 426] = "UpgradeRequired"; Http[Http["PreconditionRequired"] = 428] = "PreconditionRequired"; Http[Http["TooManyRequests"] = 429] = "TooManyRequests"; Http[Http["RequestHeaderFieldsTooLarge"] = 431] = "RequestHeaderFieldsTooLarge"; Http[Http["UnavailableForLegalReasons"] = 451] = "UnavailableForLegalReasons"; Http[Http["InternalServerError"] = 500] = "InternalServerError"; Http[Http["NotImplemented"] = 501] = "NotImplemented"; Http[Http["BadGateway"] = 502] = "BadGateway"; Http[Http["ServiceUnavailable"] = 503] = "ServiceUnavailable"; Http[Http["GatewayTimeout"] = 504] = "GatewayTimeout"; Http[Http["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported"; Http[Http["VariantAlsoNegotiates"] = 506] = "VariantAlsoNegotiates"; Http[Http["InsufficientStorage"] = 507] = "InsufficientStorage"; Http[Http["LoopDetected"] = 508] = "LoopDetected"; Http[Http["NotExtended"] = 510] = "NotExtended"; Http[Http["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired"; return Http; }({}); var $071fc1f89bbb01d6$export$8301461414a0d461 = /*#__PURE__*/ function(HttpUnofficial) { HttpUnofficial[HttpUnofficial["Checkpoint"] = 103] = "Checkpoint"; HttpUnofficial[HttpUnofficial["ThisIsFine"] = 218] = "ThisIsFine"; HttpUnofficial[HttpUnofficial["EnhanceYourCalm"] = 420] = "EnhanceYourCalm"; HttpUnofficial[HttpUnofficial["BlockedByWindowsParentalControls"] = 450] = "BlockedByWindowsParentalControls"; HttpUnofficial[HttpUnofficial["InvalidToken"] = 498] = "InvalidToken"; HttpUnofficial[HttpUnofficial["TokenRequired"] = 499] = "TokenRequired"; HttpUnofficial[HttpUnofficial["BandwidthLimitExceeded"] = 509] = "BandwidthLimitExceeded"; HttpUnofficial[HttpUnofficial["SiteIsFrozen"] = 530] = "SiteIsFrozen"; HttpUnofficial[HttpUnofficial["NetworkReadTimeoutError"] = 598] = "NetworkReadTimeoutError"; return HttpUnofficial; }({}); const $071fc1f89bbb01d6$export$6408e65d1a2e2cf7 = (0, $dfecd32049fa58e9$exports.mergeEnums)($071fc1f89bbb01d6$export$2a5b27776dbece47, $071fc1f89bbb01d6$export$8301461414a0d461); //# sourceMappingURL=status-codes.a93b598d.js.map