News for hackers. Stuff that matters.
Re:[418] I'm a Teapot by AmericanChopper on Saturday May 27, 2023 @05:43AM (#36093345)
What is the correct way to handle a 418? As if it were a 500? A 400? A 403? A 404? A 429?…
Re:[418] I'm a Teapot by hypertele-Xii on Sunday May 28, 2023 @11:17AM (#36104750)
418 is a class 4xx error, which means the client erred and shouldn't repeat the request as-is. That is, any unrecognized error beginning with a 4 must be handled as if it were the base error class, 400, "Bad Request".

> the server cannot or will not process the request due to something that is perceived to be a client error (for example, malformed request syntax, invalid request message framing, or deceptive request routing).