Marius’s Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 2 years ago

http tutorial

lemmy.ml

message-square
25
link
fedilink
37

http tutorial

lemmy.ml

siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 2 years ago
message-square
25
link
fedilink
alert-triangle
You must log in or # to comment.
  • A Basil Plant@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    Surprised no one’s mentioned HTTP Cats yet:

    https://http.cat/

    Personally, HTTP 405 (Method not allowed) is my favorite:

    An image of former US president George Bush eating a cat. The text below the image reads, "405. Method Not Allowed"

  • ferret@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years ago

    Everyone give it up for the fella who ran a webserver on a teapot

    • IHawkMike@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      I like returning 418 instead of 404 or 403 on the files the script kiddies are hunting for on my web servers. I’m sure it does nothing but I’d like to think I’ve wasted some of their time at least once.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        I’m glad that error exists.

        • psud@aussie.zone
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 years ago

          I’m pretty sure it exists because of RFC2324 hyper text coffee pot control protocol

          • JasonDJ@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Fun fact, first webcam was a series of updating stills of an actual coffee pot so some engineers would know if there was coffee made.

            • hperrin@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              Technically, all video is a series of updating stills.

      • Nougat@fedia.io
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        You had one chance to use 420 and you squandered it.

        • Bahnd Rollard@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          420 is still avalable. Not sure what you would put there (“Server too high?”) and given the controversy over 418 I think its best to leave that one blank instead of making a weed joke.

          • A Phlaming Phoenix@lemm.ee
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            There was an attempt by Twitter at one point to use “420 Enhance Your Calm” as a code to indicate you’re being rate limited.

        • IHawkMike@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Oh I get plenty of chances to use 420. But I think you might be missing the joke. 😁

        • chuckleslord@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          HTTP 418 is the “I’m a teapot” code

  • Gallardo994@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    200 OK

    { “error”: 404 }

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      MS Teams does this unironically

  • kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 years ago

    200: “I gotchu, bro. Here you go. Have a good day.”

    401: “You’re not on the list. Get lost.”

    402: “Pay me or get lost.”

    403: “Everyone get lost.”

    404: “You are lost.”

    500: “Ooopsss.”

    501: “Knew I forgot something…”

    504: “I can’t do this shit all day.”

    • davel [he/him]@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      418: 🫖

      • kryptonianCodeMonkey@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        2 years ago

        Serving multiple data streams

        • ArtVandelay@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          Thread safe pouring

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      502: “I’m fucked, you’re fucked, but most of all the developer trying to solve this is super fucked.”

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      401 is more like “Tell me who tf you are or get lost”, while 403 means “You’re not on the list, get lost”

    • Dwemthy (he/him)@lemdro.id
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      429: “Please stop trying”

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      2 years ago

      401 is “I don’t know who you are. Get fucked”

      403 is “I know who you are and you’re not allowed here. Get fucked”

  • casmael@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Why do these feel like the 5 stages of grief 🤔

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    🤣

  • BradleyUffner@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    As a software developer / network admin, all of these are almost always “I fucked up configuring the web server”.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 40 users / day
  • 1.2K users / week
  • 2.34K users / month
  • 6.26K users / 6 months
  • 1 local subscriber
  • 39.9K subscribers
  • 1.98K Posts
  • 36K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org