DEV Community


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

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 :)

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

ahmedmusallam profile image
Ahmed Musallam Author

AH! I totally forgot about this status code! nice one! haha
For reference: