页首横幅广告位 · 728×90 / 970×90

HTTP 状态码

常见 HTTP 状态码含义速查,200 404 502 是什么一目了然。

1xx · 信息响应

100继续请求Continue
101切换协议Switching Protocols
103早期提示Early Hints

2xx · 成功

200请求成功OK
201已创建Created
202已接受(处理中)Accepted
204成功但无返回内容No Content
206范围请求成功(断点续传)Partial Content

3xx · 重定向

301永久重定向Moved Permanently
302临时重定向Found
303查看其他地址See Other
304缓存未修改(命中缓存)Not Modified
307临时重定向(保持方法)Temporary Redirect
308永久重定向(保持方法)Permanent Redirect

4xx · 客户端错误

400错误的请求Bad Request
401未登录 / 未授权Unauthorized
403禁止访问Forbidden
404资源不存在Not Found
405请求方法不允许Method Not Allowed
408请求超时Request Timeout
409资源冲突Conflict
410资源已永久删除Gone
413请求体过大Payload Too Large
415不支持的媒体类型Unsupported Media Type
418我是一个茶壶(彩蛋)I'm a Teapot
422参数校验失败Unprocessable Entity
429请求过于频繁Too Many Requests
431请求头过大Request Header Fields Too Large
451因法律原因不可用Unavailable For Legal Reasons

5xx · 服务器错误

500服务器内部错误Internal Server Error
501功能未实现Not Implemented
502网关收到无效响应Bad Gateway
503服务暂不可用(过载/维护)Service Unavailable
504网关超时Gateway Timeout
505HTTP 版本不支持HTTP Version Not Supported
内容区广告位 · 响应式