@naverpay/es-http-status-codes
Version:
A lightweight, tree-shakable utility for HTTP status codes and reason phrases in TypeScript/JavaScript. Auto-generated and ESM-compatible.
68 lines (67 loc) • 3.56 kB
JavaScript
import { HttpStatusCodes } from "./status-code.mjs";
const ReasonPhrases = {
[]: "Continue",
[]: "Switching Protocols",
[]: "Processing",
[]: "Early Hints",
[]: "OK",
[]: "Created",
[]: "Accepted",
[]: "Non-Authoritative Information",
[]: "No Content",
[]: "Reset Content",
[]: "Partial Content",
[]: "Multi-Status",
[]: "Already Reported",
[]: "IM Used",
[]: "Multiple Choices",
[]: "Moved Permanently",
[]: "Found",
[]: "See Other",
[]: "Not Modified",
[]: "Use Proxy",
[]: "Temporary Redirect",
[]: "Permanent Redirect",
[]: "Bad Request",
[]: "Unauthorized",
[]: "Payment Required",
[]: "Forbidden",
[]: "Not Found",
[]: "Method Not Allowed",
[]: "Not Acceptable",
[]: "Proxy Authentication Required",
[]: "Request Timeout",
[]: "Conflict",
[]: "Gone",
[]: "Length Required",
[]: "Precondition Failed",
[]: "Payload Too Large",
[]: "URI Too Long",
[]: "Unsupported Media Type",
[]: "Range Not Satisfiable",
[]: "Expectation Failed",
[]: "I'm a teapot",
[]: "Misdirected Request",
[]: "Unprocessable Entity",
[]: "Locked",
[]: "Failed Dependency",
[]: "Upgrade Required",
[]: "Precondition Required",
[]: "Too Many Requests",
[]: "Request Header Fields Too Large",
[]: "Unavailable For Legal Reasons",
[]: "Internal Server Error",
[]: "Not Implemented",
[]: "Bad Gateway",
[]: "Service Unavailable",
[]: "Gateway Timeout",
[]: "HTTP Version Not Supported",
[]: "Variant Also Negotiates",
[]: "Insufficient Storage",
[]: "Loop Detected",
[]: "Not Extended",
[]: "Network Authentication Required"
};
export {
ReasonPhrases
};