Http 状态码对照表

1xx 消息

1. 100 Continue
       2. 101 Switching Protocol
       3. 102 Processing

2xx 成功

1. 200 OK
       2. 201 Created
       3. 202 Accepted
       4. 203 Non-Authoritative Information
       5. 204 No Content
       6. 205 Reset Content
       7. 206 Partial Content
       8. 207 Multi-Statu

3xx 重定向

1. 300 Multiple Choice
       2. 301 Moved Permanently
       3. 302 Found
       4. 303 See Other
       5. 304 Not Modified
       6. 305 Use Proxy
       7. 306 Switch Proxy
       8. 307 Temporary Redirect

4xx 请求错误

1. 400 Bad Request
       2. 401 Unauthorized
       3. 402 Payment Required
       4. 403 Forbidden
       5. 404 Not Found
       6. 405 Method Not Allowed
       7. 406 Not Acceptable
       8. 407 Proxy Authentication Required
       9. 408 Request Timeout
      10. 409 Conflict
      11. 410 Gone
      12. 411 Length Required
      13. 412 Precondition Failed
      14. 413 Request Entity Too Large
      15. 414 Request-URI Too Long
      16. 415 Unsupported Media Type
      17. 416 Requested Range Not Satisfiable
      18. 417 Expectation Failed
      19. 422 Unprocessable Entity
      20. 424 Failed Dependency
      21. 425 Unordered Collection
      22. 426 Upgrade Required
      23. 449 Retry With

5xx 服务器错误

1. 500 Internal Server Error
       2. 501 Not Implemented
       3. 502 Bad Gateway
       4. 503 Service Unavailable
       5. 504 Gateway Timeout
       6. 505 HTTP Version Not Supported
       7. 506 Variant Also Negotiate
       8. 507 Insufficient Storage
       9. 509 Bandwidth Limit Exceeded
      10. 510 Not Extended

1xx 消息

1. 100 Continue
       2. 101 Switching Protocol
       3. 102 Processing

2xx 成功

1. 200 OK
       2. 201 Created
       3. 202 Accepted
       4. 203 Non-Authoritative Information
       5. 204 No Content
       6. 205 Reset Content
       7. 206 Partial Content
       8. 207 Multi-Statu

3xx 重定向

1. 300 Multiple Choice
       2. 301 Moved Permanently
       3. 302 Found
       4. 303 See Other
       5. 304 Not Modified
       6. 305 Use Proxy
       7. 306 Switch Proxy
       8. 307 Temporary Redirect

4xx 请求错误

1. 400 Bad Request
       2. 401 Unauthorized
       3. 402 Payment Required
       4. 403 Forbidden
       5. 404 Not Found
       6. 405 Method Not Allowed
       7. 406 Not Acceptable
       8. 407 Proxy Authentication Required
       9. 408 Request Timeout
      10. 409 Conflict
      11. 410 Gone
      12. 411 Length Required
      13. 412 Precondition Failed
      14. 413 Request Entity Too Large
      15. 414 Request-URI Too Long
      16. 415 Unsupported Media Type
      17. 416 Requested Range Not Satisfiable
      18. 417 Expectation Failed
      19. 422 Unprocessable Entity
      20. 424 Failed Dependency
      21. 425 Unordered Collection
      22. 426 Upgrade Required
      23. 449 Retry With

5xx 服务器错误

1. 500 Internal Server Error
       2. 501 Not Implemented
       3. 502 Bad Gateway
       4. 503 Service Unavailable
       5. 504 Gateway Timeout
       6. 505 HTTP Version Not Supported
       7. 506 Variant Also Negotiate
       8. 507 Insufficient Storage
       9. 509 Bandwidth Limit Exceeded
      10. 510 Not Extended

上一篇:[UCSD白板题] Huge Fibonacci Number modulo m


下一篇:原生JS实现购物车功能