分类: 开发工具
HTTP 状态码查询
搜索每个 HTTP 状态码及其含义
按数字、名称或关键词搜索 1xx 到 5xx 的 HTTP 状态码,并查看简短实用的解释。数据表随页面打包,全部在你的浏览器本地查询。
62 个状态码
| 状态码 | 名称 | 分类 | 含义 |
|---|---|---|---|
| 100 | Continue | 1xx 信息响应 | The initial part of the request was received; the client should continue. |
| 101 | Switching Protocols | 1xx 信息响应 | The server is switching protocols as requested by Upgrade. |
| 102 | Processing | 1xx 信息响应 | The server has received the request and is still processing it. |
| 103 | Early Hints | 1xx 信息响应 | Preload or preconnect hints sent before the final response. |
| 200 | OK | 2xx 成功 | The request succeeded. |
| 201 | Created | 2xx 成功 | The request succeeded and a new resource was created. |
| 202 | Accepted | 2xx 成功 | The request was accepted for processing but is not complete. |
| 203 | Non-Authoritative Information | 2xx 成功 | The payload was transformed by a proxy from the origin response. |
| 204 | No Content | 2xx 成功 | The request succeeded but there is no content to send. |
| 205 | Reset Content | 2xx 成功 | The client should reset the document view that sent the request. |
| 206 | Partial Content | 2xx 成功 | Only part of the resource is being sent, per a Range header. |
| 207 | Multi-Status | 2xx 成功 | A WebDAV response conveying status for multiple sub-requests. |
| 208 | Already Reported | 2xx 成功 | A WebDAV binding was already enumerated in a previous reply. |
| 226 | IM Used | 2xx 成功 | The server fulfilled the request using instance manipulations. |
| 300 | Multiple Choices | 3xx 重定向 | The request has more than one possible response. |
| 301 | Moved Permanently | 3xx 重定向 | The resource has been permanently moved to a new URL. |
| 302 | Found | 3xx 重定向 | The resource is temporarily at a different URL. |
| 303 | See Other | 3xx 重定向 | The response can be found under a different URL using GET. |
| 304 | Not Modified | 3xx 重定向 | The resource has not changed since the last request; use the cache. |
| 305 | Use Proxy | 3xx 重定向 | Deprecated: the requested resource must be accessed through a proxy. |
| 307 | Temporary Redirect | 3xx 重定向 | The resource is temporarily at a different URL; method must not change. |
| 308 | Permanent Redirect | 3xx 重定向 | The resource has permanently moved; method must not change. |
| 400 | Bad Request | 4xx 客户端错误 | The server cannot process the request due to a client error. |
| 401 | Unauthorized | 4xx 客户端错误 | Authentication is required and has failed or not been provided. |
| 402 | Payment Required | 4xx 客户端错误 | Reserved for future use. |
| 403 | Forbidden | 4xx 客户端错误 | The server understood the request but refuses to authorize it. |
| 404 | Not Found | 4xx 客户端错误 | The server can not find the requested resource. |
| 405 | Method Not Allowed | 4xx 客户端错误 | The request method is not supported for this resource. |
| 406 | Not Acceptable | 4xx 客户端错误 | No content matching the Accept headers was found. |
| 407 | Proxy Authentication Required | 4xx 客户端错误 | The client must authenticate with the proxy first. |
| 408 | Request Timeout | 4xx 客户端错误 | The server timed out waiting for the request. |
| 409 | Conflict | 4xx 客户端错误 | The request conflicts with the current state of the resource. |
| 410 | Gone | 4xx 客户端错误 | The resource is no longer available and will not come back. |
| 411 | Length Required | 4xx 客户端错误 | The request did not specify the length of its content. |
| 412 | Precondition Failed | 4xx 客户端错误 | A precondition in the request headers was not met. |
| 413 | Payload Too Large | 4xx 客户端错误 | The request entity is larger than the server can handle. |
| 414 | URI Too Long | 4xx 客户端错误 | The requested URI is longer than the server can interpret. |
| 415 | Unsupported Media Type | 4xx 客户端错误 | The media format of the request is not supported. |
| 416 | Range Not Satisfiable | 4xx 客户端错误 | The requested range cannot be satisfied. |
| 417 | Expectation Failed | 4xx 客户端错误 | The Expect header could not be met by the server. |
| 418 | I'm a Teapot | 4xx 客户端错误 | An April Fools' joke status code from RFC 2324. |
| 421 | Misdirected Request | 4xx 客户端错误 | The request was directed at a server unable to produce a response. |
| 422 | Unprocessable Entity | 4xx 客户端错误 | The request was well-formed but semantically incorrect. |
| 423 | Locked | 4xx 客户端错误 | The resource that is being accessed is locked. |
| 424 | Failed Dependency | 4xx 客户端错误 | The request failed because a prior dependent request failed. |
| 425 | Too Early | 4xx 客户端错误 | The server is unwilling to risk processing a replayable request. |
| 426 | Upgrade Required | 4xx 客户端错误 | The client should switch to a different protocol. |
| 428 | Precondition Required | 4xx 客户端错误 | The origin server requires the request to be conditional. |
| 429 | Too Many Requests | 4xx 客户端错误 | The client has sent too many requests in a given time. |
| 431 | Request Header Fields Too Large | 4xx 客户端错误 | The header fields are too large for the server. |
| 451 | Unavailable For Legal Reasons | 4xx 客户端错误 | The resource is unavailable for legal reasons. |
| 500 | Internal Server Error | 5xx 服务器错误 | The server encountered an unexpected condition. |
| 501 | Not Implemented | 5xx 服务器错误 | The server does not support the functionality required. |
| 502 | Bad Gateway | 5xx 服务器错误 | The server, acting as a gateway, got an invalid response. |
| 503 | Service Unavailable | 5xx 服务器错误 | The server is not ready to handle the request. |
| 504 | Gateway Timeout | 5xx 服务器错误 | The server, acting as a gateway, did not get a response in time. |
| 505 | HTTP Version Not Supported | 5xx 服务器错误 | The HTTP version used in the request is not supported. |
| 506 | Variant Also Negotiates | 5xx 服务器错误 | Transparent content negotiation resulted in a circular reference. |
| 507 | Insufficient Storage | 5xx 服务器错误 | The server is unable to store the representation needed. |
| 508 | Loop Detected | 5xx 服务器错误 | The server detected an infinite loop while processing the request. |
| 510 | Not Extended | 5xx 服务器错误 | Further extensions to the request are required. |
| 511 | Network Authentication Required | 5xx 服务器错误 | The client needs to authenticate to gain network access. |
本页的所有处理都在浏览器中完成,不会上传任何内容。
这个工具能做什么
每个 HTTP 响应都会带一个三位数状态码,用来告诉客户端发生了什么:2xx 表示成功,3xx 表示重定向,4xx 表示客户端问题,5xx 表示服务器故障。这个工具内置常见的 IANA 注册状态码和通俗说明,让你不用离开编辑器就能确认某个状态码的含义,或找到更适合接口返回的状态码。
使用方法
- 输入状态码、名称,或像“rate limit”这样的关键词。
- 可选地把结果缩小到某一类状态码(1xx-5xx)。
- 阅读匹配状态码的简短解释。
隐私说明
本工具完全在你的浏览器中运行。输入的内容不会被上传、保存或分享,关闭标签页即随之消失。
常见问题
- 这份列表来自哪里?
- 工具内置了一份常见 IANA 注册状态码表,覆盖网页 API 和浏览器交互中最常见的状态码,不会请求服务器。
- 401 和 403 有什么区别?
- 401 Unauthorized 表示请求需要有效的认证凭据;403 Forbidden 表示服务器知道你是谁,但仍然拒绝授权这次操作。
- 为什么会有 418?
- "I'm a Teapot" 来自 1998 年愚人节 RFC。它很少被严肃使用,不过有些 API 会把它当作彩蛋。