HTTP 状态码

HTTP 状态码

分成五类

  • 1xx Informational, 表示信息提示相关的
  • 2xx Successful, 表示成功的
  • 3xx Redirection,重定向
  • 4xx Client Error,客户端错误
  • 5xx Server Error,服务器错误

  • 1xx Informational, 表示信息提示相关的 100 Continue,继续 101 Switching Protocols,协议切换

  • 2xx Successful, 表示成功的 200 OK,成功 201 Created,创建成功 202 Accepted,接收成功 203 Non-Authoritative Information,非授权信息 204 No Content,没有内容 205 Reset Content,内容重置 206 Partial Content,部分内容

  • 3xx Redirection,重定向 300 Multiple Choices,多重选择 301 Moved Permanently,永久移动 302 Found,找到 303 See Other,查看其它页面 304 Not Modified,没有修改 305 Use Proxy,使用代理 307 Temporary Redirect,临时重定向

  • 4xx Client Error,客户端错误 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 Request Entity Too Large 414 Request-URI Too Long 415 Unsupported Media Type 416 Requested Range Not Satisfiable 417 Expectation Failed


  • 5xx Server Error 500 Internal Server Error,服务器内部错误 501 Not Implemented,没有实现 502 Bad Gateway,网关错误 503 Service Unavailable,服务不存在 504 Gateway Timeout,网关超时 505 HTTP Version Not Supported,HTTP 版本不支持
posted @   小白咚  阅读(78)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示