Spyke

teapot. its used when the server refuses to brew coffee for the client because it's a teapot, not a coffee pot

40

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.

9
Dandroidreply
lemmy.world

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

8

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"

1

It is what your internet connected Tea kettle responds with when receiving a coffee information request.

6

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

4
sh.itjust.works

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.

4

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.

1

You reached the end

I'm a what now? | Spyke