HTTP-Statuscodes
Vollständige Referenz der HTTP-Statuscodes von 1xx bis 5xx, inklusive nicht standardisierter Codes wie 418, 429, 451, 499 und 599, mit Suche nach Code oder Stichwort, Filter nach Klasse und Kopieren.
Läuft lokal im BrowserAlle Berechnungen laufen in Ihrem Browser; Ihre Daten verlassen dieses Gerät nicht.
Statuscodes suchen
Gesamt 65 Codes / 65
100ContinueStandardEnglische ErläuterungThe server received the request headers; the client should continue sending the body.
Chinesische Bedeutung服务器已收到请求头,客户端应继续发送请求体。
101Switching ProtocolsStandardEnglische ErläuterungThe server is switching protocols as requested by the client.
Chinesische Bedeutung服务器按客户端的 Upgrade 请求切换协议。
102ProcessingStandardEnglische ErläuterungWebDAV: the server has received the request and is still processing it.
Chinesische BedeutungWebDAV:服务器已收到请求并正在处理,暂时没有响应。
103Early HintsStandardEnglische ErläuterungReturns resource hints before the final response.
Chinesische Bedeutung在最终响应之前先返回资源预加载提示。
200OKStandardEnglische ErläuterungThe request succeeded and the response body carries the result.
Chinesische Bedeutung请求成功,响应内容在正文里。
201CreatedStandardEnglische ErläuterungThe request succeeded and a new resource was created; Location usually points to it.
Chinesische Bedeutung请求成功并创建了新资源,通常配合 Location 头返回新地址。
202AcceptedStandardEnglische ErläuterungThe request was accepted but processing is not finished yet.
Chinesische Bedeutung请求已被接受但尚未处理完成,结果稍后可用。
203Non-Authoritative InformationStandardEnglische ErläuterungThe returned metadata comes from a proxy rather than the origin server.
Chinesische Bedeutung返回的元信息来自代理,不是源服务器的最新版本。
204No ContentStandardEnglische ErläuterungThe request succeeded but there is no body to return.
Chinesische Bedeutung请求成功但正文为空,常用于删除或提交后的响应。
205Reset ContentStandardEnglische ErläuterungThe client should reset the document view, for example a form.
Chinesische Bedeutung请求成功,客户端应重置当前文档的视图(如表单)。
206Partial ContentStandardEnglische ErläuterungRange request: only a part of the resource is returned.
Chinesische Bedeutung断点续传:只返回了资源的一部分。
207Multi-StatusStandardEnglische ErläuterungWebDAV: several sub-requests each carry their own status.
Chinesische BedeutungWebDAV:多个子请求各有自己的状态码。
208Already ReportedStandardEnglische ErläuterungWebDAV: the members were already reported in an earlier part of the response.
Chinesische BedeutungWebDAV:同一集合里的成员已经在前面的响应里报告过。
226IM UsedStandardEnglische ErläuterungThe server fulfilled the request using instance manipulations.
Chinesische Bedeutung服务器已完成实例操纵,返回增量结果。
300Multiple ChoicesStandardEnglische ErläuterungThe resource has multiple representations and the client should choose one.
Chinesische Bedeutung请求的资源有多种表示,需要客户端选择。
301Moved PermanentlyStandardEnglische ErläuterungThe resource moved permanently; search engines update their index.
Chinesische Bedeutung资源永久重定向到新地址,搜索引擎会更新索引。
302FoundStandardEnglische ErläuterungTemporary redirect to another address.
Chinesische Bedeutung资源临时重定向到另一个地址。
303See OtherStandardEnglische ErläuterungRedirect to another address, which should be fetched with GET.
Chinesische Bedeutung重定向到另一个地址,并且应该改用 GET 获取结果。
304Not ModifiedStandardEnglische ErläuterungConditional cache hit: the resource is unchanged, use the local copy.
Chinesische Bedeutung命中协商缓存,资源没有变化,直接使用本地副本。
305Use ProxyNicht standardisiertEnglische ErläuterungDeprecated: the resource must be accessed through a proxy.
Chinesische Bedeutung已弃用:要求通过代理访问资源。
306UnusedNicht standardisiertEnglische ErläuterungDeprecated: a historical code that is reserved and unused.
Chinesische Bedeutung已废弃:历史遗留的状态码,保留未用。
307Temporary RedirectStandardEnglische ErläuterungTemporary redirect that must keep the original request method.
Chinesische Bedeutung临时重定向,但必须保持原来的请求方法。
308Permanent RedirectStandardEnglische ErläuterungPermanent redirect that must keep the original request method.
Chinesische Bedeutung永久重定向,同样必须保持原来的请求方法。
400Bad RequestStandardEnglische ErläuterungThe request is malformed or the parameters are invalid.
Chinesische Bedeutung请求语法错误或参数不合法,服务器无法处理。
401UnauthorizedStandardEnglische ErläuterungNot authenticated: sign in or provide valid credentials first.
Chinesische Bedeutung未认证:需要先登录或提供有效的凭证。
402Payment RequiredStandardEnglische ErläuterungReserved; often used for APIs that require payment.
Chinesische Bedeutung预留状态码,常被用于需要付费才能访问的场景。
403ForbiddenStandardEnglische ErläuterungAuthenticated but not allowed to access the resource.
Chinesische Bedeutung已认证但没有访问权限。
404Not FoundStandardEnglische ErläuterungThe requested resource does not exist.
Chinesische Bedeutung请求的资源不存在。
405Method Not AllowedStandardEnglische ErläuterungThe resource exists but does not support this HTTP method.
Chinesische Bedeutung资源存在,但不支持这个请求方法。
406Not AcceptableStandardEnglische ErläuterungNo representation matches the Accept header.
Chinesische Bedeutung无法返回符合 Accept 头要求的响应。
407Proxy Authentication RequiredStandardEnglische ErläuterungThe request must authenticate with the proxy first.
Chinesische Bedeutung需要先通过代理服务器认证。
408Request TimeoutStandardEnglische ErläuterungThe server timed out waiting for the request.
Chinesische Bedeutung服务器等待请求超时,客户端可以重试。
409ConflictStandardEnglische ErläuterungThe request conflicts with the current state of the resource.
Chinesische Bedeutung请求与资源当前状态冲突,例如并发写入。
410GoneStandardEnglische ErläuterungThe resource existed but has been permanently removed.
Chinesische Bedeutung资源曾经存在但已被永久删除。
411Length RequiredStandardEnglische ErläuterungThe Content-Length header is required.
Chinesische Bedeutung缺少 Content-Length 头。
412Precondition FailedStandardEnglische ErläuterungA precondition such as If-Match failed.
Chinesische Bedeutung条件请求的预置条件(If-Match 等)不满足。
413Content Too LargeStandardEnglische ErläuterungThe request body exceeds the size the server accepts.
Chinesische Bedeutung请求体超过服务器允许的大小。
414URI Too LongStandardEnglische ErläuterungThe request URL is too long.
Chinesische Bedeutung请求的 URL 太长。
415Unsupported Media TypeStandardEnglische ErläuterungThe media type of the request body is not supported.
Chinesische Bedeutung请求体的媒体类型不被支持。
416Range Not SatisfiableStandardEnglische ErläuterungThe requested byte range cannot be satisfied.
Chinesische Bedeutung请求的字节范围无法满足。
417Expectation FailedStandardEnglische ErläuterungThe expectation given in the Expect header cannot be met.
Chinesische BedeutungExpect 头里的期望不能满足。
418I'm a teapotNicht standardisiertEnglische ErläuterungApril Fools code: the server is a teapot and cannot brew coffee.
Chinesische Bedeutung愚人节彩蛋状态码:服务器是一把茶壶,不能煮咖啡。
421Misdirected RequestStandardEnglische ErläuterungThe request was directed at a server that cannot serve this host.
Chinesische Bedeutung请求被发给了无法为该域名提供服务的服务器。
422Unprocessable ContentStandardEnglische ErläuterungThe request is well-formed but semantically invalid.
Chinesische Bedeutung请求格式正确但语义有误,无法处理。
423LockedStandardEnglische ErläuterungWebDAV: the resource is locked.
Chinesische BedeutungWebDAV:资源已被锁定。
424Failed DependencyStandardEnglische ErläuterungWebDAV: the request failed because a previous request failed.
Chinesische BedeutungWebDAV:前置请求失败,本次请求无法完成。
425Too EarlyStandardEnglische ErläuterungThe server is unwilling to process a request that might be replayed.
Chinesische Bedeutung服务器不愿处理可能被重放的早期请求。
426Upgrade RequiredStandardEnglische ErläuterungThe client should switch to another protocol.
Chinesische Bedeutung需要升级到其他协议才能继续。
428Precondition RequiredStandardEnglische ErläuterungThe origin server requires the request to be conditional.
Chinesische Bedeutung要求请求带上条件头,避免并发覆盖。
429Too Many RequestsStandardEnglische ErläuterungToo many requests in a short time: rate limited.
Chinesische Bedeutung短时间内请求过多,已被限流,请稍后重试。
431Request Header Fields Too LargeStandardEnglische ErläuterungThe request header fields are too large.
Chinesische Bedeutung请求头总大小超出限制。
451Unavailable For Legal ReasonsStandardEnglische ErläuterungThe resource cannot be provided for legal reasons.
Chinesische Bedeutung因法律原因无法提供该资源。
499Client Closed RequestNicht standardisiertEnglische ErläuterungNon-standard (nginx): the client closed the connection before the response.
Chinesische Bedeutung非标准(nginx):客户端在服务器响应前断开了连接。
500Internal Server ErrorStandardEnglische ErläuterungAn unexpected error occurred on the server.
Chinesische Bedeutung服务器内部错误,通常是代码异常。
501Not ImplementedStandardEnglische ErläuterungThe server does not support the functionality required.
Chinesische Bedeutung服务器不支持该请求需要的功能。
502Bad GatewayStandardEnglische ErläuterungThe gateway received an invalid response from the upstream server.
Chinesische Bedeutung网关或代理从上游收到了无效响应。
503Service UnavailableStandardEnglische ErläuterungThe server is temporarily unavailable, for example overloaded or in maintenance.
Chinesische Bedeutung服务暂时不可用,通常是过载或维护中。
504Gateway TimeoutStandardEnglische ErläuterungThe gateway timed out waiting for the upstream server.
Chinesische Bedeutung网关等待上游响应超时。
505HTTP Version Not SupportedStandardEnglische ErläuterungThe HTTP protocol version used in the request is not supported.
Chinesische Bedeutung服务器不支持请求使用的 HTTP 版本。
506Variant Also NegotiatesStandardEnglische ErläuterungTransparent content negotiation results in a circular reference.
Chinesische Bedeutung内容协商配置错误,导致循环引用。
507Insufficient StorageStandardEnglische ErläuterungWebDAV: the server cannot store the representation needed.
Chinesische BedeutungWebDAV:服务器存储空间不足。
508Loop DetectedStandardEnglische ErläuterungWebDAV: an infinite loop was detected while processing the request.
Chinesische BedeutungWebDAV:处理请求时检测到死循环。
510Not ExtendedStandardEnglische ErläuterungFurther extensions to the request are required.
Chinesische Bedeutung需要对请求做进一步扩展才能满足策略。
511Network Authentication RequiredStandardEnglische ErläuterungThe client needs to authenticate, for example on a captive portal.
Chinesische Bedeutung需要先通过网络的认证(例如公共 Wi-Fi 登录)。
599Network Connect Timeout ErrorNicht standardisiertEnglische ErläuterungNon-standard: the proxy timed out connecting upstream.
Chinesische Bedeutung非标准:代理连接上游超时(常见于 nginx 日志)。
Was dieses Werkzeug kann
- Einen unbekannten Statuscode aus einer API-Antwort oder ein Log voller 4xx/5xx schnell nachschlagen und die Standard-Reason-Phrase samt Bedeutung für Client und Server sehen.
- API-Dokus oder eine Fehlercodetabelle schreiben und die kanonischen Reason Phrases (404 Not Found, 429 Too Many Requests) übernehmen, statt eigene Schreibweisen zu erfinden.
- Beim Lesen eines nginx-Access-Logs klären, woher Nicht-Standard-Codes wie 499 und 599 kommen — beides nginx-Konventionen, keine RFC-Definitionen.
- HTTP vermitteln oder lernen, indem du die Kategorien 1xx–5xx durchgehst, inklusive des Unterschieds zwischen 401 (nicht authentifiziert) und 403 (authentifiziert, aber nicht erlaubt).
Beispiel
Eingabe
404
Ausgabe
404 Not Found (Standard) Chinesische Bedeutung: 请求的资源不存在。 Englische Erklärung: The requested resource does not exist.
Jede Ergebniszeile auf der Seite besteht aus genau diesen drei Zeilen: Code und Reason Phrase mit dem Kennzeichen „Standard / Nicht standard“, dann die chinesische und die englische Bedeutung; die Kopiertaste liefert die schlichte Zeile 404 Not Found. Ziffern werden zuerst exakt und dann als Präfix gesucht: 404 liefert diesen einen Eintrag, 4 listet alle 30 Codes im 4xx-Bereich. Für Stichwortsuchen tippe ein Wort — „timeout“ trifft 408, 504 und 599.
Häufige Fragen
Was ist der echte Unterschied zwischen 401 und 403?
401 Unauthorized heißt „noch nicht authentifiziert“: Der Server schickt einen WWW-Authenticate-Header, der erklärt, wie man sich authentifiziert. 403 Forbidden heißt, du bist authentifiziert, aber nicht berechtigt — erneutes Anmelden hilft nicht. Korrekt wäre für 401 der Name Unauthenticated; der irreführende ist ein Relikt der Spezifikation.
Woran erkenne ich, ob ein 4xx oder ein 5xx schuld ist?
Ein 4xx sagt, dass die Anfrage selbst falsch ist, und eine unveränderte Wiederholung scheitert meist erneut — also zuerst die Anfrage korrigieren. Ein 5xx sagt, dass der Server gestört ist, sodass der Client mit Backoff erneut versuchen darf. 502 und 504 entstehen meist auf dem Weg vom Gateway zum Upstream, und 429 wie 503 nennen im Retry-After die Wartezeit.
Warum sind 418, 499 und 599 als nicht standard markiert?
Weil sie nicht im IETF-Register stehen. 418 I'm a teapot ist ein Aprilscherz aus RFC 2324 von 1998, 499 und 599 sind von nginx definiert (Client hat früh abgebrochen, Proxy-Timeout zum Upstream). Sie gehören in Logs, nicht in einen öffentlichen API-Vertrag.
Warum hat 304 keinen Response-Body?
304 Not Modified ist das Ergebnis einer bedingten Cache-Prüfung: Der Browser fragt mit If-None-Match oder If-Modified-Since, der Server sieht, dass die Ressource unverändert ist, und antwortet mit 304, damit die lokale Kopie genutzt wird — das spart die Übertragung. Deshalb gibt es keinen Body und meist auch keinen Content-Type.
Kann ich statt einer Zahl auch einen Begriff suchen?
Ja. Nicht-numerische Eingaben werden ohne Beachtung der Groß-/Kleinschreibung in Reason Phrase, chinesischer Bedeutung und englischer Beschreibung gesucht, daher treffen auch chinesische Begriffe wie „重定向“, „超时“ oder „限流“. Numerische Eingaben nutzen exakte und Präfixsuche, ein gemischter String wie 4xx trifft also nicht.
Schlagwörter:httpstatus code404500http statusrest