STATUS_CODES: MEANING    ‹常用状态码及含义› ✍
{
100: Continue, // 持续中
101: Switching Protocols, // 转换协议
102: Processing, // 进行中
200: OK, // 成功
201: Created, // 已创建
202: Accepted, // 已接受
203: Non-Authoritative Information, // 未授权的信息
204: No Content, // 没有内容
205: Reset Content, // 重设置内容
206: Partial Content, // 局部内容
207: Multi-Status, // 多种状态
208: Already Reported, // 已经报告
226: IM Used, // 使用IM协议 (即时通讯协议(Instant Messaging))
300: Multiple Choices, // 多种选择
301: Moved Permanently, // 永久移除
302: Found, // 已找到
303: See Other, // 见其他
304: Not Modified, // 未修改
305: Use Proxy, // 使用代理
307: Temporary Redirect, // 临时跳转
308: Permanent Redirect, // 永久跳转
400: Bad Request, // 坏请求
401: Unauthorized, // 未授权
402: Payment Required, // 要求支付
403: Forbidden, // 禁止
404: Not Found, // 未找到
405: Method Not Allowed, // 不允许的方式
406: Not Acceptable, // 不接受
407: Proxy Authentication Required, // 要求协议授权
408: Request Timeout, // 请求超时
409: Conflict, // 冲突
410: Gone,
411: Length Required,
412: Precondition Failed,
413: Payload Too Large,
414: URI Too Long,
415: Unsupported Media Type,
416: Range Not Satisfiable,
417: Expectation Failed,
418: I\m a teapot,
421: Misdirected Request,
422: Unprocessable Entity,
423: Locked,
424: Failed Dependency,
425: Unordered Collection,
426: Upgrade Required,
428: Precondition Required,
429: Too Many Requests, // 请求过多
431: Request Header Fields Too Large,
451: Unavailable For Legal Reasons,
500: Internal Server Error, // 服务器内部错误
501: Not Implemented,
502: Bad Gateway, // 网关错误
503: Service Unavailable, // 服务不可用
504: Gateway Timeout, // 网关超时
505: HTTP Version Not Supported, // HTTP协议版本不支持
506: Variant Also Negotiates,
507: Insufficient Storage,
508: Loop Detected,
509: Bandwidth Limit Exceeded,
510: Not Extended,
511: Network Authentication Required
}
后续补充✌
总结🔔
😑 1xx: Informational 【响应进行中】
↪ Request received, continuing process
😎 2xx: Success 【成功响应】
↪ The action was successfully received, understood, and accepted
😁 3xx: Redirection 【重定向响应】
↪ Further action must be taken in order to complete the request
😅 4xx: Client Error 【客户端错误】
↪ The request contains bad syntax or cannot be fulfilled
😞 5xx: Server Error 【服务端错误】
↪ The server failed to fulfill an apparently valid request