Is 418 I'm a teapot a real status code?
Not really. It came from a 1998 April Fools RFC about coffee pots. IANA lists 418 as reserved and unused, so servers should not send it for real errors.
Search every status code in the IANA registry by number, class, or words. Each code links to its own page explaining when you see it, what to do about it, which headers belong with it, and an example response.
Loading the workbench.
You do not have to take our word that your headers stay here. Developer tools show every request a page makes, so you can watch this page work and confirm that nothing is sent. The check takes under a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Only two things can add a line to that log, and neither carries your headers. Submitting the feedback form sends the vote and comment you typed. Typing characters in a script the page has not displayed yet, such as Cyrillic or Greek, can make the browser fetch the matching font file, and that request names only the font.
2http never sends a request on your behalf: the request builder writes code for you to run, and the meta inspector reads source you paste instead of fetching a URL. The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint.
The list is the IANA HTTP Status Code Registry: 63 codes, each with the RFC that defines it, most from RFC 9110. Codes that are reserved but unused, such as 306 and 418, are included and labelled, because people search for them. The data was seeded from the 2toolbox reference, and 2http is now its canonical home in the 2suite family.
A few pairs cause most mistakes. 401 versus 403: 401 means log in, 403 means logging in will not help. 301 versus 308: both are permanent, but only 308 forbids changing POST to GET. 400 versus 422: 400 means the request could not be parsed, 422 means it parsed but failed validation. 502 versus 504: a bad answer from upstream versus no answer in time. Each code's page lists its close relatives so you can compare them side by side.
Elsewhere in 2http: Header decoder, Cookie decoder, Cache-Control decoder, CORS checker, User-agent parser, and all eleven lanes on the 2http home page. Part of the 2suite.io privacy-first ecosystem.
Not really. It came from a 1998 April Fools RFC about coffee pots. IANA lists 418 as reserved and unused, so servers should not send it for real errors.
401 means the request lacks valid authentication, and the response must say how to authenticate. 403 means the server knows who you are and refuses anyway.
Use 404 when it does not exist or you will not say. Use 410 when it was removed on purpose and is never coming back; search engines drop 410 pages faster.
The IANA registry lists 63 codes from 100 to 511, including a few reserved or obsoleted ones. Servers can send other three-digit codes, but clients treat unknown ones as the x00 of their class.