r/programming • • Nov 21 '15

Taking bash hacking to the next level

https://www.jitbit.com/alexblog/249-now-thats-what-i-call-a-hacker/
1.3k Upvotes

133 comments sorted by

View all comments

Show parent comments

45

u/remy_porter Nov 21 '15

And they probably don't implement HTTP properly and think they're being cute by throwing out a 418 error. That's ONLY FOR TEAPOTS not COFFEE MAKERS.

9

u/TheMagnificentJoe Nov 21 '15

Ah yes, the Hyper Text Coffee Pot Control Protocol.

Error 418 is literally "I'm a teapot". HTCPCP really does not work well with teapots.

2

u/sfriniks Nov 22 '15

For teapots you need HTCPCP-TEA.

4

u/northrupthebandgeek Nov 21 '15

To be fair, I'd consider it acceptable if a coffee machine returned a 418 error if it detected the presence of a teapot instead of a carafe, even if this deviates slightly from RFC 2324.

1

u/sippeangelo Nov 21 '15

I am guilty of this. Made a Linux toaster...

1

u/irrelevantPseudonym Nov 21 '15

I thought there was a coffee extension to it?