Cheat Sheet速查表
跳转到主要内容

HTTP 状态码速查表

该页面提供了HTTP状态码的详细参考,包括各类状态码的含义、使用场景及解决方法。

1xx:信息性状态码

状态码说明
100Continue
101Switching Protocols

2xx:成功状态码

状态码说明
200OK
201Created
202Accepted
203Non-Authoritative Information
204No Content
205Reset Content
206Partial Content

3xx:重定向状态码

状态码说明
300Multiple Choices
301Moved Permanently
302Found
303See Other
304Not Modified
305Use Proxy
307Temporary Redirect
308Permanent Redirect

4xx:客户端错误状态码

状态码说明
400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Payload Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed

5xx:服务器错误状态码

状态码说明
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported

结语

通过本状态码速查表,开发者可以快速查找和理解各种HTTP状态码的含义及其应用场景,从而更高效地进行Web开发与调试。