HTTP ステータスコード早見表
1xx から 5xx までの標準コードと非標準コード(418、429、451、499、599 など)を網羅した HTTP ステータスコードの早見表。コードやキーワードでの検索、区分での絞り込み、コピーに対応します。
ブラウザ内で動作計算はすべてブラウザ内で行われ、データが端末の外に出ることはありません。
ステータスコードを検索
合計 65 件 / 65
100Continue標準英語の説明The server received the request headers; the client should continue sending the body.
中国語の意味服务器已收到请求头,客户端应继续发送请求体。
101Switching Protocols標準英語の説明The server is switching protocols as requested by the client.
中国語の意味服务器按客户端的 Upgrade 请求切换协议。
102Processing標準英語の説明WebDAV: the server has received the request and is still processing it.
中国語の意味WebDAV:服务器已收到请求并正在处理,暂时没有响应。
103Early Hints標準英語の説明Returns resource hints before the final response.
中国語の意味在最终响应之前先返回资源预加载提示。
200OK標準英語の説明The request succeeded and the response body carries the result.
中国語の意味请求成功,响应内容在正文里。
201Created標準英語の説明The request succeeded and a new resource was created; Location usually points to it.
中国語の意味请求成功并创建了新资源,通常配合 Location 头返回新地址。
202Accepted標準英語の説明The request was accepted but processing is not finished yet.
中国語の意味请求已被接受但尚未处理完成,结果稍后可用。
203Non-Authoritative Information標準英語の説明The returned metadata comes from a proxy rather than the origin server.
中国語の意味返回的元信息来自代理,不是源服务器的最新版本。
204No Content標準英語の説明The request succeeded but there is no body to return.
中国語の意味请求成功但正文为空,常用于删除或提交后的响应。
205Reset Content標準英語の説明The client should reset the document view, for example a form.
中国語の意味请求成功,客户端应重置当前文档的视图(如表单)。
206Partial Content標準英語の説明Range request: only a part of the resource is returned.
中国語の意味断点续传:只返回了资源的一部分。
207Multi-Status標準英語の説明WebDAV: several sub-requests each carry their own status.
中国語の意味WebDAV:多个子请求各有自己的状态码。
208Already Reported標準英語の説明WebDAV: the members were already reported in an earlier part of the response.
中国語の意味WebDAV:同一集合里的成员已经在前面的响应里报告过。
226IM Used標準英語の説明The server fulfilled the request using instance manipulations.
中国語の意味服务器已完成实例操纵,返回增量结果。
300Multiple Choices標準英語の説明The resource has multiple representations and the client should choose one.
中国語の意味请求的资源有多种表示,需要客户端选择。
301Moved Permanently標準英語の説明The resource moved permanently; search engines update their index.
中国語の意味资源永久重定向到新地址,搜索引擎会更新索引。
302Found標準英語の説明Temporary redirect to another address.
中国語の意味资源临时重定向到另一个地址。
303See Other標準英語の説明Redirect to another address, which should be fetched with GET.
中国語の意味重定向到另一个地址,并且应该改用 GET 获取结果。
304Not Modified標準英語の説明Conditional cache hit: the resource is unchanged, use the local copy.
中国語の意味命中协商缓存,资源没有变化,直接使用本地副本。
305Use Proxy非標準英語の説明Deprecated: the resource must be accessed through a proxy.
中国語の意味已弃用:要求通过代理访问资源。
306Unused非標準英語の説明Deprecated: a historical code that is reserved and unused.
中国語の意味已废弃:历史遗留的状态码,保留未用。
307Temporary Redirect標準英語の説明Temporary redirect that must keep the original request method.
中国語の意味临时重定向,但必须保持原来的请求方法。
308Permanent Redirect標準英語の説明Permanent redirect that must keep the original request method.
中国語の意味永久重定向,同样必须保持原来的请求方法。
400Bad Request標準英語の説明The request is malformed or the parameters are invalid.
中国語の意味请求语法错误或参数不合法,服务器无法处理。
401Unauthorized標準英語の説明Not authenticated: sign in or provide valid credentials first.
中国語の意味未认证:需要先登录或提供有效的凭证。
402Payment Required標準英語の説明Reserved; often used for APIs that require payment.
中国語の意味预留状态码,常被用于需要付费才能访问的场景。
403Forbidden標準英語の説明Authenticated but not allowed to access the resource.
中国語の意味已认证但没有访问权限。
404Not Found標準英語の説明The requested resource does not exist.
中国語の意味请求的资源不存在。
405Method Not Allowed標準英語の説明The resource exists but does not support this HTTP method.
中国語の意味资源存在,但不支持这个请求方法。
406Not Acceptable標準英語の説明No representation matches the Accept header.
中国語の意味无法返回符合 Accept 头要求的响应。
407Proxy Authentication Required標準英語の説明The request must authenticate with the proxy first.
中国語の意味需要先通过代理服务器认证。
408Request Timeout標準英語の説明The server timed out waiting for the request.
中国語の意味服务器等待请求超时,客户端可以重试。
409Conflict標準英語の説明The request conflicts with the current state of the resource.
中国語の意味请求与资源当前状态冲突,例如并发写入。
410Gone標準英語の説明The resource existed but has been permanently removed.
中国語の意味资源曾经存在但已被永久删除。
411Length Required標準英語の説明The Content-Length header is required.
中国語の意味缺少 Content-Length 头。
412Precondition Failed標準英語の説明A precondition such as If-Match failed.
中国語の意味条件请求的预置条件(If-Match 等)不满足。
413Content Too Large標準英語の説明The request body exceeds the size the server accepts.
中国語の意味请求体超过服务器允许的大小。
414URI Too Long標準英語の説明The request URL is too long.
中国語の意味请求的 URL 太长。
415Unsupported Media Type標準英語の説明The media type of the request body is not supported.
中国語の意味请求体的媒体类型不被支持。
416Range Not Satisfiable標準英語の説明The requested byte range cannot be satisfied.
中国語の意味请求的字节范围无法满足。
417Expectation Failed標準英語の説明The expectation given in the Expect header cannot be met.
中国語の意味Expect 头里的期望不能满足。
418I'm a teapot非標準英語の説明April Fools code: the server is a teapot and cannot brew coffee.
中国語の意味愚人节彩蛋状态码:服务器是一把茶壶,不能煮咖啡。
421Misdirected Request標準英語の説明The request was directed at a server that cannot serve this host.
中国語の意味请求被发给了无法为该域名提供服务的服务器。
422Unprocessable Content標準英語の説明The request is well-formed but semantically invalid.
中国語の意味请求格式正确但语义有误,无法处理。
423Locked標準英語の説明WebDAV: the resource is locked.
中国語の意味WebDAV:资源已被锁定。
424Failed Dependency標準英語の説明WebDAV: the request failed because a previous request failed.
中国語の意味WebDAV:前置请求失败,本次请求无法完成。
425Too Early標準英語の説明The server is unwilling to process a request that might be replayed.
中国語の意味服务器不愿处理可能被重放的早期请求。
426Upgrade Required標準英語の説明The client should switch to another protocol.
中国語の意味需要升级到其他协议才能继续。
428Precondition Required標準英語の説明The origin server requires the request to be conditional.
中国語の意味要求请求带上条件头,避免并发覆盖。
429Too Many Requests標準英語の説明Too many requests in a short time: rate limited.
中国語の意味短时间内请求过多,已被限流,请稍后重试。
431Request Header Fields Too Large標準英語の説明The request header fields are too large.
中国語の意味请求头总大小超出限制。
451Unavailable For Legal Reasons標準英語の説明The resource cannot be provided for legal reasons.
中国語の意味因法律原因无法提供该资源。
499Client Closed Request非標準英語の説明Non-standard (nginx): the client closed the connection before the response.
中国語の意味非标准(nginx):客户端在服务器响应前断开了连接。
500Internal Server Error標準英語の説明An unexpected error occurred on the server.
中国語の意味服务器内部错误,通常是代码异常。
501Not Implemented標準英語の説明The server does not support the functionality required.
中国語の意味服务器不支持该请求需要的功能。
502Bad Gateway標準英語の説明The gateway received an invalid response from the upstream server.
中国語の意味网关或代理从上游收到了无效响应。
503Service Unavailable標準英語の説明The server is temporarily unavailable, for example overloaded or in maintenance.
中国語の意味服务暂时不可用,通常是过载或维护中。
504Gateway Timeout標準英語の説明The gateway timed out waiting for the upstream server.
中国語の意味网关等待上游响应超时。
505HTTP Version Not Supported標準英語の説明The HTTP protocol version used in the request is not supported.
中国語の意味服务器不支持请求使用的 HTTP 版本。
506Variant Also Negotiates標準英語の説明Transparent content negotiation results in a circular reference.
中国語の意味内容协商配置错误,导致循环引用。
507Insufficient Storage標準英語の説明WebDAV: the server cannot store the representation needed.
中国語の意味WebDAV:服务器存储空间不足。
508Loop Detected標準英語の説明WebDAV: an infinite loop was detected while processing the request.
中国語の意味WebDAV:处理请求时检测到死循环。
510Not Extended標準英語の説明Further extensions to the request are required.
中国語の意味需要对请求做进一步扩展才能满足策略。
511Network Authentication Required標準英語の説明The client needs to authenticate, for example on a captive portal.
中国語の意味需要先通过网络的认证(例如公共 Wi-Fi 登录)。
599Network Connect Timeout Error非標準英語の説明Non-standard: the proxy timed out connecting upstream.
中国語の意味非标准:代理连接上游超时(常见于 nginx 日志)。
このツールでできること
- API が返した見慣れないステータスコードや、4xx/5xx だらけのログをすぐ引いて、標準の理由フレーズと意味を確認し、原因がクライアント側かサーバー側かを判断する。
- API ドキュメントやエラーコード表を作るとき、標準の理由フレーズ(404 Not Found、429 Too Many Requests)をそのまま使って独自表記を避ける。
- nginx のアクセスログを見るとき、499 や 599 のような非標準コードの出どころを確認する(いずれも nginx 独自の取り決めで、RFC の定義ではない)。
- HTTP を教えるときは 1xx/2xx/3xx/4xx/5xx の分類ごとに眺め、4xx の中で「未認証(401)」と「権限なし(403)」を区別する。
例
入力
404
出力
404 Not Found(標準) 中国語の意味:请求的资源不存在。 英語の説明:The requested resource does not exist.
ページ上の各結果はこの 3 行です:ステータスコードと理由フレーズ+「標準 / 非標準」の印、中国語の意味、英語の説明。コピーボタンが返すのは 404 Not Found という 1 行のプレーンテキストです。数字だけの入力はまず完全一致、次に前方一致で探します:404 ならこの 1 件だけ、4 なら 4xx の全 30 件が並びます。キーワードで探すときは英単語か中国語を入れてください。たとえば timeout は 408、504、599 にヒットします。
よくある質問
401 と 403 はどう違う?
401 Unauthorized は「まだ認証していない」状態で、サーバーは WWW-Authenticate ヘッダーで認証方法を伝えます。403 Forbidden は「認証は済んだが権限がない」状態なので、再ログインしても解決しません。名前としては 401 を Unauthenticated と呼ぶほうが正確で、現在の名前は仕様上の歴史的な経緯です。
4xx と 5xx の責任はどう分ける?
4xx はリクエスト自体に問題があり、同じリクエストを再試行してもたいてい失敗するので、まずリクエストを直します。5xx はサーバー側の不調で、クライアントはバックオフしながら再試行できます。502/504 はゲートウェイから上流の区間で起きやすく、429 と 503 は Retry-After で待ち時間を伝えます。
418、499、599 が「非標準」なのはなぜ?
IETF の登録簿にないからです。418 I'm a teapot は 1998 年のエイプリルフール RFC 2324 に由来する遊びで、499 と 599 は nginx が独自に定めたもの(クライアントの早期切断、上流への接続タイムアウト)です。ログに出るのは構いませんが、公開 API の仕様に書くべきものではありません。
304 にレスポンスボディがないのはなぜ?
304 Not Modified は条件付きキャッシュの結果です。ブラウザが If-None-Match や If-Modified-Since を付けて問い合わせ、サーバーはリソースが変わっていないと判断すると 304 だけを返し、ブラウザはローカルのコピーを使います。転送量が節約されるわけです。そのため本文もなく、通常は Content-Type もありません。
数字ではなくキーワードでも検索できますか?
できます。数字以外の入力は理由フレーズ・中国語の意味・英語の説明の 3 か所で大文字小文字を区別せず部分一致するので、「重定向」「超时」「限流」のような中国語でも該当するステータスコードにヒットします。数字入力は完全一致と前方一致のみなので、4xx のように英字が混ざるとヒットしません。
キーワード:httpstatus code404500http statusrest