收录 72 个状态码(含触发场景与排查建议)、65 个消息头(含语法模板与例子)、12 个可直接粘贴的写法配方。全程离线可用。
72 条 · 点击任一行看场景与排查建议
标了「扩展」的不是 IANA 登记的码:Cloudflare、nginx、部分 PaaS 各自定义了自有码,处理时要按厂商文档理解。
72 status codes, 65 headers, 12 request recipes and a MIME cheat sheet, bilingual and offline
Runs locally · Nothing uploaded
This is an engineer-oriented HTTP reference. It answers not only what 404 means, but where to look once you get one, and exactly how the headers for a given request should be written. The status code table holds 72 entries, built on the complete RFC 9110 set and extended with codes standardised elsewhere (WebDAV RFC 4918, RFC 6585 for 426, 428, 429 and 431, RFC 8297 for 103 Early Hints, RFC 8470 for 425 Too Early, RFC 7725 for 451 Legal Reasons, RFC 7538, RFC 5842, RFC 2295, RFC 2774) plus the non-standard codes you actually meet in logs: nginx 499, Cloudflare 520-526, IIS 530. Anything outside the RFC 9110 set carries an extension badge with its source, so you never mistake it for standard behaviour. Each entry gives a bilingual meaning, real trigger scenarios, a triage direction, and related headers you can jump to. The header section covers 65 fields you genuinely have to write, each with a syntax template and a concrete example, with extra care on conditional requests, cache layers, CORS preflight and security response headers, which is where mistakes concentrate. The Recipes tab turns 12 frequent scenarios into copyable request blocks in curl, fetch, axios, Python requests, Go and more. The MIME table lists the 55 types worth handwriting and notes where a registered name differs from a tolerated alias. Everything ships in the bundle and works offline.
72 in total. The backbone is the full set defined by RFC 9110 (HTTP Semantics), extended with codes standardised by other documents (WebDAV RFC 4918; RFC 6585 for 426, 428, 429 and 431; RFC 8297 for 103 Early Hints; RFC 8470 for 425 Too Early; RFC 7725 for 451 Legal Reasons; RFC 7538; RFC 5842; RFC 2295; RFC 2774) and the non-standard codes that appear constantly in real logs, such as nginx 499, Cloudflare 520-526 and IIS 530. Anything outside the RFC 9110 set carries an extension badge naming its source, so you can judge how far to rely on it.
Only fields you genuinely type into a request or have to explain from a capture. The bar for inclusion is that you either write it in code or need to interpret it while debugging. Each one gets a syntax template and an example. A short useful list beats a complete list nobody reads.
It is a paste-ready skeleton: the request shape and the headers are complete and correct. Swap in your own host, path, token and file paths. Each recipe ends with the caveats for that scenario.
Deliberate trade-off. IANA registers thousands, but engineers hand-write a few dozen. Rather than bury the common ones in a wall of rows, these 55 are written precisely, and the notes separate registered names from tolerated aliases: image/jpeg is the registered form and image/jpg is only an alias, icons should be image/vnd.microsoft.icon while image/x-icon is historical, and application/gzip differs from application/x-gzip.
No. This is a purely offline reference and snippet generator. It contacts no server and needs no network. To verify a real response, use your browser devtools or curl alongside it.
Yes. Every code block wraps, the page never scrolls horizontally on narrow screens, and the category chips scroll sideways.