MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / status_message

Function status_message

examples/server/httplib.h:3075–3143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3073}
3074
3075inline const char *status_message(int status) {
3076 switch (status) {
3077 case 100: return "Continue";
3078 case 101: return "Switching Protocol";
3079 case 102: return "Processing";
3080 case 103: return "Early Hints";
3081 case 200: return "OK";
3082 case 201: return "Created";
3083 case 202: return "Accepted";
3084 case 203: return "Non-Authoritative Information";
3085 case 204: return "No Content";
3086 case 205: return "Reset Content";
3087 case 206: return "Partial Content";
3088 case 207: return "Multi-Status";
3089 case 208: return "Already Reported";
3090 case 226: return "IM Used";
3091 case 300: return "Multiple Choice";
3092 case 301: return "Moved Permanently";
3093 case 302: return "Found";
3094 case 303: return "See Other";
3095 case 304: return "Not Modified";
3096 case 305: return "Use Proxy";
3097 case 306: return "unused";
3098 case 307: return "Temporary Redirect";
3099 case 308: return "Permanent Redirect";
3100 case 400: return "Bad Request";
3101 case 401: return "Unauthorized";
3102 case 402: return "Payment Required";
3103 case 403: return "Forbidden";
3104 case 404: return "Not Found";
3105 case 405: return "Method Not Allowed";
3106 case 406: return "Not Acceptable";
3107 case 407: return "Proxy Authentication Required";
3108 case 408: return "Request Timeout";
3109 case 409: return "Conflict";
3110 case 410: return "Gone";
3111 case 411: return "Length Required";
3112 case 412: return "Precondition Failed";
3113 case 413: return "Payload Too Large";
3114 case 414: return "URI Too Long";
3115 case 415: return "Unsupported Media Type";
3116 case 416: return "Range Not Satisfiable";
3117 case 417: return "Expectation Failed";
3118 case 418: return "I'm a teapot";
3119 case 421: return "Misdirected Request";
3120 case 422: return "Unprocessable Entity";
3121 case 423: return "Locked";
3122 case 424: return "Failed Dependency";
3123 case 425: return "Too Early";
3124 case 426: return "Upgrade Required";
3125 case 428: return "Precondition Required";
3126 case 429: return "Too Many Requests";
3127 case 431: return "Request Header Fields Too Large";
3128 case 451: return "Unavailable For Legal Reasons";
3129 case 501: return "Not Implemented";
3130 case 502: return "Bad Gateway";
3131 case 503: return "Service Unavailable";
3132 case 504: return "Gateway Timeout";

Callers 2

write_response_coreMethod · 0.85
process_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected