• wheezy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    25
    ·
    3 days ago
    Content-Type: application/myson
    {
        status: 200,
        message: "Dancing at a funeral uwu"
    }
    
    Content-Type: application/yourson
    {
        status: 410,
        message: "Died for the Epstein class"
    }
    
      • A_norny_mousse@piefed.zip
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 days ago

        410 Gone

        This response is sent when the requested content has been permanently deleted from server, with no forwarding address

      • wheezy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        Glad someone noticed. I used it over 404 just for you comrade.

        To those that don’t know. 410 is the “gone” response. It is different than “404 not found” as it is meant to tell the request that the resource was once there but has been deleted permanently.

        So it’s basically “not found, because it was removed purposely”. Rather than just the “not found” which is seen more often because it’ll just be the default general response when a request is not able to return any content.