分类: 开发工具

HTTP 状态码查询

站方自主规划没找到想要的工具?

搜索每个 HTTP 状态码及其含义

按数字、名称或关键词搜索 1xx 到 5xx 的 HTTP 状态码,并查看简短实用的解释。数据表随页面打包,全部在你的浏览器本地查询。

62 个状态码

状态码名称分类含义
100Continue1xx 信息响应The initial part of the request was received; the client should continue.
101Switching Protocols1xx 信息响应The server is switching protocols as requested by Upgrade.
102Processing1xx 信息响应The server has received the request and is still processing it.
103Early Hints1xx 信息响应Preload or preconnect hints sent before the final response.
200OK2xx 成功The request succeeded.
201Created2xx 成功The request succeeded and a new resource was created.
202Accepted2xx 成功The request was accepted for processing but is not complete.
203Non-Authoritative Information2xx 成功The payload was transformed by a proxy from the origin response.
204No Content2xx 成功The request succeeded but there is no content to send.
205Reset Content2xx 成功The client should reset the document view that sent the request.
206Partial Content2xx 成功Only part of the resource is being sent, per a Range header.
207Multi-Status2xx 成功A WebDAV response conveying status for multiple sub-requests.
208Already Reported2xx 成功A WebDAV binding was already enumerated in a previous reply.
226IM Used2xx 成功The server fulfilled the request using instance manipulations.
300Multiple Choices3xx 重定向The request has more than one possible response.
301Moved Permanently3xx 重定向The resource has been permanently moved to a new URL.
302Found3xx 重定向The resource is temporarily at a different URL.
303See Other3xx 重定向The response can be found under a different URL using GET.
304Not Modified3xx 重定向The resource has not changed since the last request; use the cache.
305Use Proxy3xx 重定向Deprecated: the requested resource must be accessed through a proxy.
307Temporary Redirect3xx 重定向The resource is temporarily at a different URL; method must not change.
308Permanent Redirect3xx 重定向The resource has permanently moved; method must not change.
400Bad Request4xx 客户端错误The server cannot process the request due to a client error.
401Unauthorized4xx 客户端错误Authentication is required and has failed or not been provided.
402Payment Required4xx 客户端错误Reserved for future use.
403Forbidden4xx 客户端错误The server understood the request but refuses to authorize it.
404Not Found4xx 客户端错误The server can not find the requested resource.
405Method Not Allowed4xx 客户端错误The request method is not supported for this resource.
406Not Acceptable4xx 客户端错误No content matching the Accept headers was found.
407Proxy Authentication Required4xx 客户端错误The client must authenticate with the proxy first.
408Request Timeout4xx 客户端错误The server timed out waiting for the request.
409Conflict4xx 客户端错误The request conflicts with the current state of the resource.
410Gone4xx 客户端错误The resource is no longer available and will not come back.
411Length Required4xx 客户端错误The request did not specify the length of its content.
412Precondition Failed4xx 客户端错误A precondition in the request headers was not met.
413Payload Too Large4xx 客户端错误The request entity is larger than the server can handle.
414URI Too Long4xx 客户端错误The requested URI is longer than the server can interpret.
415Unsupported Media Type4xx 客户端错误The media format of the request is not supported.
416Range Not Satisfiable4xx 客户端错误The requested range cannot be satisfied.
417Expectation Failed4xx 客户端错误The Expect header could not be met by the server.
418I'm a Teapot4xx 客户端错误An April Fools' joke status code from RFC 2324.
421Misdirected Request4xx 客户端错误The request was directed at a server unable to produce a response.
422Unprocessable Entity4xx 客户端错误The request was well-formed but semantically incorrect.
423Locked4xx 客户端错误The resource that is being accessed is locked.
424Failed Dependency4xx 客户端错误The request failed because a prior dependent request failed.
425Too Early4xx 客户端错误The server is unwilling to risk processing a replayable request.
426Upgrade Required4xx 客户端错误The client should switch to a different protocol.
428Precondition Required4xx 客户端错误The origin server requires the request to be conditional.
429Too Many Requests4xx 客户端错误The client has sent too many requests in a given time.
431Request Header Fields Too Large4xx 客户端错误The header fields are too large for the server.
451Unavailable For Legal Reasons4xx 客户端错误The resource is unavailable for legal reasons.
500Internal Server Error5xx 服务器错误The server encountered an unexpected condition.
501Not Implemented5xx 服务器错误The server does not support the functionality required.
502Bad Gateway5xx 服务器错误The server, acting as a gateway, got an invalid response.
503Service Unavailable5xx 服务器错误The server is not ready to handle the request.
504Gateway Timeout5xx 服务器错误The server, acting as a gateway, did not get a response in time.
505HTTP Version Not Supported5xx 服务器错误The HTTP version used in the request is not supported.
506Variant Also Negotiates5xx 服务器错误Transparent content negotiation resulted in a circular reference.
507Insufficient Storage5xx 服务器错误The server is unable to store the representation needed.
508Loop Detected5xx 服务器错误The server detected an infinite loop while processing the request.
510Not Extended5xx 服务器错误Further extensions to the request are required.
511Network Authentication Required5xx 服务器错误The client needs to authenticate to gain network access.

本页的所有处理都在浏览器中完成,不会上传任何内容。

这个工具能做什么

每个 HTTP 响应都会带一个三位数状态码,用来告诉客户端发生了什么:2xx 表示成功,3xx 表示重定向,4xx 表示客户端问题,5xx 表示服务器故障。这个工具内置常见的 IANA 注册状态码和通俗说明,让你不用离开编辑器就能确认某个状态码的含义,或找到更适合接口返回的状态码。

使用方法

  1. 输入状态码、名称,或像“rate limit”这样的关键词。
  2. 可选地把结果缩小到某一类状态码(1xx-5xx)。
  3. 阅读匹配状态码的简短解释。

隐私说明

本工具完全在你的浏览器中运行。输入的内容不会被上传、保存或分享,关闭标签页即随之消失。

常见问题

这份列表来自哪里?
工具内置了一份常见 IANA 注册状态码表,覆盖网页 API 和浏览器交互中最常见的状态码,不会请求服务器。
401 和 403 有什么区别?
401 Unauthorized 表示请求需要有效的认证凭据;403 Forbidden 表示服务器知道你是谁,但仍然拒绝授权这次操作。
为什么会有 418?
"I'm a Teapot" 来自 1998 年愚人节 RFC。它很少被严肃使用,不过有些 API 会把它当作彩蛋。