4 ms·
If I have anything to do with it, there is a 418 response hidden somewhere. I recall a few internal projects at a previous employer would return 418 if the use
by madamelic 5y ago
If I have anything to do with it, there is a 418 response hidden somewhere.
I recall a few internal projects at a previous employer would return 418 if the user managed to royally mess something up as a "wtf, how are you here?!" kind of response.
I feel like I am not alone in implementing 'weird' HTTP codes when I get bored / as an easter egg. Pretty sure I also used HTTP 420 at least once.
- flatiron 5y ago“Uhh ummm no” -code reviewer
- codr7 5y agoYeah, code reviews definitely killed some of the fun in coding, they are rarely performed with humor.
- rockwotj 5y agoI generally make it a goal to have a test case with silly enough data to get a comment from a reviewer.
- KineticLensman 5y agoI remember reviewing a really long document (> 50 pages) that had in one bullet list the phrase 'Marks and Spencer tandoori chicken sandwich'. The doc was otherwise camera ready and the phrase was obviously there to see if I was in fact reading it
- deleted 5y ago[deleted]
- jylauril 5y agoAh, the good ol' 420 - EnhanceYourCalm
- deleted 5y ago[deleted]
- divbzero 5y agoUnlike 418 I'm a Teapot, 420 Enhance Your Calm is actually a nonstandard HTTP status code. The correct response is 429 Too Many Requests. [1] [1]: https://datatracker.ietf.org/doc/html/rfc6585#section-4 https://datatracker.ietf.org/doc/html/rfc6585#section-4