HTTP响应码

信息型状态响应码

  1. 100 Continue
  2. 101 Switching Protocols
  3. 103 Early Hints

成功状态响应码

  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

重定向状态码

  1. 300 Multiple Choices
  2. 301 Moved Permanently
  3. 302 Found
  4. 303 See Other
  5. 304 Not Modified
  6. 307 Temporary Redirect
  7. 308 Permanent Redirect

客户端错误

  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 Payload Too Large
  15. 414 URI Too Long
  16. 415 Unsupported Media Type
  17. 416 Range Not Satisfiable
  18. 417 Expectation Failed
  19. 418 I'm a teapot
  20. 422 Unprocessable Entity
  21. 425 Too Early
  22. 426 Upgrade Required
  23. 428 Precondition Required
  24. 429 Too Many Requests
  25. 431 Request Header Fields Too Large
  26. 451 Unavailable For Legal Reasons

服务端错误

  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 Negotiates
  8. 507 Insufficient Storage
  9. 508 Loop Detected
  10. 510 Not Extended
  11. 511 Network Authentication Required
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 一、服务器端基础概念 1.1 网站的组成 网站应用程序主要分为两大部分:客户端和服务器端。客户端:在浏览器中运行的...
    AizawaSayo阅读 1,336评论 0 1
  • 状态码释义使用100 Continue表示目前为止一切正常, 客户端应该继续请求, 如果已完成请求则忽略。一般用在...
    曹吉利阅读 351评论 0 0
  • 总结自 https://developer.mozilla.org/en-US/docs/Web/HTTP/Sta...
    天石_0415阅读 421评论 0 0
  • 本文为《三万长文50+趣图带你领悟web编程的内功心法[https://www.itzhai.com/articl...
    Arthinking阅读 778评论 0 0
  • HTTP——超级文本传输协议,用于传输超媒体文档(如Html)的应用层协议,典型的应用场景是浏览器网页、API接口...
    jxiang112阅读 564评论 0 0

友情链接更多精彩内容