3 ms·
I’ve always used 418 for this kind of thing
by benjlcox 3y ago
I’ve always used 418 for this kind of thing
- tommica 3y agoFor us lazy people: https://http.dev/418 https://http.dev/418
- mxuribe 3y agoAh, yes, the "I'm a teapot" status. Awesome! :-)
- 8organicbits 3y ago4xx seems more appropriate for sure. I'd say 400, 420, or 429 feel closest.
- Vanit 3y agoDitto, for me 418 has always meant "check response body for the application error code".
- duxup 3y agoI use 418 for “code should not have gotten here” type situations. It's a weird enough and unique enough error that I pretty much know what is possibly up the moment I see it.
- Joker_vD 3y agoI think somebody also used it as a response when they detected the request to be a CSRF attack?
- jpgvm 3y agoI always use 418 for anti-botting responses. First because it's hilarious and second because I want them to know that I know what they did heh.