• akari
    link
    fedilink
    401 year ago

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

    • @owenfromcanada
      link
      91 year ago

      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.

  • @inspxtr
    link
    71 year ago

    lol what’s the context here?

      • @Dandroid
        link
        81 year ago

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

        • Ɀeus
          link
          1
          edit-2
          1 year ago

          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”

    • WasPentalive
      link
      fedilink
      61 year ago

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

  • katy ✨
    link
    fedilink
    41 year ago

    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

    • SalukiOP
      link
      fedilink
      11 year ago

      How did you find out about this? It was meant to be top secret.

  • @[email protected]
    link
    fedilink
    4
    edit-2
    1 year ago

    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.

    • silly goose meekah
      link
      31 year ago

      what stops you from just passing a 418 int? enums are just fancy ints in c#

  • @camelCaseGuy
    link
    11 year ago

    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.