@poppanator/http-constants
Version:
This package contains various HTTP constants: http status codes and texts, HTTP header names and HTTP methods, and a few related utility function.
64 lines (63 loc) • 3.6 kB
TypeScript
export declare const Continue = "Continue";
export declare const SwitchingProtocol = "Switching Protocol";
export declare const Processing = "Processing";
export declare const EarlyHints = "Early Hints";
export declare const Ok = "OK";
export declare const Created = "Created";
export declare const Accepted = "Accepted";
export declare const NonAuthoritativeInformation = "Non Authoritative Information";
export declare const NoContent = "No Content";
export declare const ResetContent = "Reset Content";
export declare const PartialContent = "Partial Content";
export declare const MultiStatus = "Multi Status";
export declare const AlreadyReported = "Already Reported";
export declare const ImUsed = "I'm Used";
export declare const MultipleChoices = "Multiple Choices";
export declare const MovedPermanently = "Moved Permanently";
export declare const Found = "Found";
export declare const SeeOther = "See Other";
export declare const NotModified = "Not Modified";
export declare const UseProxy = "Use Proxy";
export declare const SwitchProxy = "Switch Proxy";
export declare const TemporaryRedirect = "Temporary Redirect";
export declare const PermanentRedirect = "Permanent Redirect";
export declare const BadRequest = "Bad Request";
export declare const Unauthorized = "Unauthorized";
export declare const PaymentRequired = "Payment Required";
export declare const Forbidden = "Forbidden";
export declare const NotFound = "Not Found";
export declare const MethodNotAllowed = "Method Not Allowed";
export declare const NotAcceptable = "Not Acceptable";
export declare const ProxyAuthenticationRequired = "Proxy Authentication Required";
export declare const RequestTimeout = "Request Timeout";
export declare const Conflict = "Conflict";
export declare const Gone = "Gone";
export declare const LengthRequired = "Length Required";
export declare const PreconditionFailed = "Precondition Failed";
export declare const PayloadTooLarge = "Payload Too Large";
export declare const UriTooLong = "URI Too Long";
export declare const UnsupportedMediaType = "Unsupported Media Type";
export declare const RangeNotSatisfiable = "Range Not Satisfiable";
export declare const ExpectationFailed = "Expectation Failed";
export declare const ImAteapot = "I'm A Teapot";
export declare const MisdirectedRequest = "Misdirected Request";
export declare const UnprocessableEntity = "Unprocessable Entity";
export declare const Locked = "Locked";
export declare const FailedDependency = "Failed Dependency";
export declare const TooEarly = "Too Early";
export declare const UpgradeRequired = "Upgrade Required";
export declare const PreconditionRequired = "Precondition Required";
export declare const TooManyRequests = "Too Many Requests";
export declare const RequestHeaderFieldsTooLarge = "Request Header Fields Too Large";
export declare const UnavailableForLegalReasons = "Unavailable For Legal Reasons";
export declare const InternalServerError = "Internal Server Error";
export declare const NotImplemented = "Not Implemented";
export declare const BadGateway = "Bad Gateway";
export declare const ServiceUnavailable = "Service Unavailable";
export declare const GatewayTimeout = "Gateway Timeout";
export declare const HttpVersionNotSupported = "HTTP Version Not Supported";
export declare const VariantAlsoNegotiates = "Variant Also Negotiates";
export declare const InsufficientStorage = "Insufficient Storage";
export declare const LoopDetected = "Loop Detected";
export declare const NotExtended = "Not Extended";
export declare const NetworkAuthenticationRequired = "Network Authentication Required";