teapot. its used when the server refuses to brew coffee for the client because it's a teapot, not a coffee pot
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
See https://www.rfc-editor.org/rfc/rfc2324 and https://www.rfc-editor.org/rfc/rfc7168. Then take a look at the dates the RFCs were published :)
The "data" for most coffee URIs contain no caffeine.
Haven't read through that in a long time. Still hoping to get a HTCPCP-compliant coffee pot some day.
Here is my handle, here is my censored
lol what’s the context here?
I learned about this http response code too late. About 4 years ago I was working at a startup and I was the "lead engineer" (aka only engineer) on a project where I had to design and implement an entire REST API. I really wish I would have put this in somewhere, since we weren't doing code review (because it was literally only me).
Definitely GET /
*unofficial but may as well be official at this point
oh wow you're right. i've seen it in "official-ish" sites so often, but never read the actual rfc docs and it's just "unused"
It is what your internet connected Tea kettle responds with when receiving a coffee information request.
Joke built into the http standard
looks like a brodie enjoyer to me~
Teapot. Can't you ~pour tea~ read?
This is just step one of the British path to world programmer domination. Next up. All references to color will now be spelled in the proper colour
How did you find out about this? It was meant to be top secret.
Bit disappointed that this is not built into the c# http status codes. Was building a mock service and wanted to return something that would never occur in production for things I didn't have definitions for. This seemed like a perfect response but it's not part of the statues enum.
what stops you from just passing a 418 int
? enums
are just fancy ints
in c#
https://github.com/joho/7XX-rfc Some additional status codes to cover a wide variety of interesting situations.
I've used this one in prod a couple of times. Only for internal services and in a very well defined situation. But it's great to be able to use it.