• listless@lemmy.cringecollective.io
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    4 hours ago

    Other niche HTTP codes:

    420: Enhance Your Calm (used by twitter to rate limit clients, reference to cannabis culture) 451: Unavailable due to legal reasons (now an official code! reference to Ray Bradbury’s Fahrenheit 451 in which books are illegal)

  • Kowowow@lemmy.ca
    link
    fedilink
    arrow-up
    37
    ·
    6 hours ago

    Only time I’ve ever heard of this code before was today with a meme about a tea pot

      • impolitecarry@lemmy.wtf
        link
        fedilink
        arrow-up
        48
        ·
        6 hours ago

        So, the web works on http (and https). When you ask for some content (“make a request”) on the web, the place you asked (“the server”) replies with the best content they can find for what you asked, along with a short code as a hint of what the reply contains (“the response”). You may be familiar with the response code 404, which signifies the thing you asked for could not be found, and the actual reply usually contains a cute error message saying the same thing. You can think of the response content as the part of the response meant for humans, and the response code as the part of the response meant for other computers.

        Response code 418 is a joke response code put into the standard (it was an RFC document for the 1St of April for some year). It is meant to signify that the server cannot really fulfill your request, because in reality, you aren’t talking to a real server, but a teapot some nerd managed to hook up to the internet (this was before the era of IoT was upon us and every appliance wanted to be smart and connect to the internet.)

        So, it can be viewed as the “sir this is a Wendy’s” joke counterpart of the http response codes.

        Me: “Hey computer, go find me the post with most activity in the past 6 hours.” Server response: “error 418. Sir, this is a teapot…”

        • [object Object]@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          5 hours ago

          this was before the era of IoT

          TBF remotely-controlled coffeemakers were a dream of nerds since the eighties if not earlier. I remember reading a fascinated account of some dude who kludged up such remote control in the office kitchen, such that the couple minutes it took him to walk there from his office was the exact time it took the coffee to brew. Of course, this is an everyday thing now.

            • [object Object]@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              5 hours ago

              I think I’ve read about these too — there’s been a period when I consumed old lore aplenty. Like reading all or at least most of the Jargon File (I’ve had it in the non-linear format of being plugged into actual dictionary software).

          • impolitecarry@lemmy.wtf
            link
            fedilink
            arrow-up
            2
            ·
            5 hours ago

            I should’ve been more specific. I meant, internet of terrible things.

            I’m a big fan of small appliances talking to each other and reporting status and being remote controlled, but not in its current commercial form. And yes, ever since we have had networking, we have had nerds attempting to make small devices talk to each other and do useful things remotely.

    • KristellA
      link
      fedilink
      arrow-up
      20
      ·
      6 hours ago

      It’s an April fool’s joke from… 50 ish years ago. Hypertext teapot control protocol. Status code 418 was supposed to be what happens if you try to get it to brew a cup of coffee. It cannot brew coffee, it is a teapot.

      “This is a Wendy’s” is a response to wildly off-topic remarks, similar in case to 418

        • KristellA
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 hours ago

          That was 100% me transposing the numbers xD I thought it said 1989 for the joke, it was 1998. Also I did the math wrong and said 50 instead of 40, two fuck-ups for the price of one!