DEV Community

Discussion on: Do you leave jokes in your code? If so, please share!

Collapse
 
phallstrom profile image
Philip Hallstrom

Awhile back I was legitimately able to return HTTP status 418 (I'm a tea pot) as I needed to trigger on something that I could guarantee wouldn't be caught by anyone else. That was fun :)

Collapse
 
rvictorino profile image
Robin Victorino

makes me wondering if in our IoT era some actual connected teapot™ now responds a legitimate 418 in some situations

Collapse
 
ahmedmusallam profile image
Ahmed Musallam

AH! I totally forgot about this status code! nice one! haha
For reference: developer.mozilla.org/en-US/docs/W...