592 pointsby surprisetalk8 days ago45 comments
  • roblh8 days ago
    I unironically use this website everytime I forget a status code at work. The name is instantly memorable, it loads immediately, and I can ctrl-f it. It's basically muscle memory at this point.
  • rogeriopvl7 days ago
    http.cat author here.

    A shout out to Tomomi Imura, because HTTP Status Cats was her idea and I just made the images available through an API.

    It's crazy to think that since 2010 this still pops up on the HN front page from time to time. Thank you for that!

    http.cat is a testament of how simple, fun and silly the internet was back then. I'll try to keep it online for as long as I can.

    I love reading the stories you all share online about it, they fuel my motivation to keep it up and I'm always open to feedback and new ideas. So feel free to share them here or on the github repo.

    Cheers!

    • grelek7 days ago
      Anytime I need to check an HTTP status code I go to http.cat. I get the answer to my question and a cat picture as a bonus.
    • ashikns7 days ago
      I discovered it today and I'm in love! Thank you for maintaining a piece of simple joy for more than a decade <3
    • pandler7 days ago
      Thanks for keeping that service up and running! I think it’s been about 10 years since I found it and it’s been my go-to reference ever since. I’ll often get laughs from people when I share it as reference.
    • danielodievich7 days ago
      It is my favorite http resource. I pull it up during troubleshooting conference calls for inevitable lightening of mood. +1000 karma to you
    • tomwphillips7 days ago
      Thank you, and please keep it online. Apparently I am incapable of remembering HTTP status codes and I always go straight to http.cat!
    • thomascgalvin7 days ago
      This is what the internet was supposed to be
    • geostyx7 days ago
      I've used http.cat for years to double check what an http code is for. Thank you both for making it!
  • potatosalad998 days ago
    I love how there is a Catalan version too! I guess it’s probably a requirement for getting the .cat domain.
    • maxbond8 days ago
      https://icannwiki.org/.cat

      > Administered by the non-profit Fundació puntCAT under the oversight of ICANN, registrations are available only to individuals and organizations demonstrating use or promotion of the Catalan language and culture.

      • mycall7 days ago
        Is that available for every country root server?
        • maxbond7 days ago
          As far as I can tell, there is no rule requiring this wiki to be kept up to date (it's not run by ICANN, though they sponsor it), but I've had good luck with it. The wiki is updated fairly frequently: https://icannwiki.org/Special:RecentChanges . I wasn't able to find a list that proves it covers every TLD but there are about 9x as many articles as TLDs, so I think it's likely. Someone with better MediaWiki chops could probably figure it out. I think that information is there I just don't know how to access it.

          ETA: This category lists 314 ccTLDs.

          https://icannwiki.org/Category:CcTLD

          There are 316 ccTLDs. So; it's either missing 2, or they are documented but not in the right category.

          If you're looking for an authoritative source I think you should check out the PSL, but it doesn't have the right metadata to answer your question. You'd need to supplement it somehow.

          https://publicsuffix.org/

    • hbn8 days ago
      Does look to be the case.

      nyan.cat has a language picker that includes Catalan, even though it just changes the page title.

      • maxbond8 days ago
        Imho it's pretty messed up that their translation tool doesn't actually translate the page and only translates one element. For the most part the site is a lark and the text unimportant. But the banner disclaiming any affiliation with any meme coin really ought to be translated.
    • paufernandez8 days ago
      The funny thing is that upon registration of a .cat domain you are required to acknowledge that your website is not related to cats at all. So those domains are, in theory, not in compliance.
      • embedding-shape7 days ago
        They don't ask you to "acknowledge that your website is not related to cats at all", they're asking you to confirm that the website "serve(s) the needs of the Catalan Linguistic and Cultural Community on the Internet" by entering what the intended use is. Signed, owner of emsh.cat.

        One could say by having the websites become popular and viral, and offering versions of the their websites in Catalan, they are spreading Catalan culture to more parts of the internet. We're having a discussiong about it right now, others are reading, pretty big impact from just the TLD choice :)

      • lmz7 days ago
        But what if it's a Catalan cat charity?
    • Biganon7 days ago
      I used to own long.cat and I never bothered
  • misir7 days ago
    I used to have a middleware that replaced generic http error responses with http.cat pics. One time a VIP somehow got into a URL that returned http 400 response on the website and got mad.

    I ended up getting a call to explain why the website is showing middle finger to our VIP customer.

    • lazystar7 days ago
      still, probably better than a 450 error, at least
  • ivanstepanovftw7 days ago
    There is also https://http.dog/
    • fencepost7 days ago
      Worth noting that http.dog includes 218 This is Fine, which is an Apache-specific response code.

      It does not, however, use a cartoon dog in a room on fire.

  • sph7 days ago
    Also, for the frontend devs out there:

    https://placecats.com/

    https://placekittens.com/

  • promiseofbeans8 days ago
    I’ve used this site every time I’m doing http networking stuff for the past few years. It’s so easy to just go to http.cat/303 to check a status code you don’t know, or to scroll down the homepage to find the number you need for a specific response.

    The cats make it much more fun than a regular docs page, whilst still being a useful quick reference. I wonder if other bits of reference information could be made more interesting in this way.

  • carlos-menezes8 days ago
    There's an alternative[0] for the canine lovers.

    [0]: https://httpstatusdogs.com

  • reaperducer8 days ago
    Came for 418. Left happy for Caturday.

    (Every web site I've built in the last ten years has a series of conditions that combined will trigger a 418.)

  • mattcantstop8 days ago
    404 should have been the cat footprints in the concrete but without the cat.
    • spockz7 days ago
      Actually, that would be “401 Gone”. :-)
  • aniforprez7 days ago
    I still do this day mourn the old httpstatus.io or whatever it was domain that got acquired a few years back and became completely useless. This one endures and I love it. This one stays bookmarked but at least the MDN page on status codes now pops up as the first useful link when you search for "http status codes"
  • tantalor8 days ago
    I used similar idea in an app a while back:

    https://github.com/tantalor/emend/blob/master/app/static/ima...

    Still gives me a chuckle

  • athom3 days ago
    In three decades of surfing the web, I've never encountered more than a couple of those error messages. This set of pictures makes me wish I'd run into them more often.
  • taherm7898 days ago
    Love http and love cats
  • mszcz7 days ago
    Couple of years ago I worked as a full stack web dev for a electronics distributor.

    At that time we had a couple of DB problems, it would get overwhelmed, shit itself and our page would show an error. I found some time and, instead of fixing the error (duh ;P), I downloaded around 20-30 funny cat gifs, assigned each a funny caption and modified the error page so that each would show randomly.

    Next time the DB shit itself, the error page showed up and the cats wrought refresh chaos upon Apache but it took it in stride since the error page was mostly static.

    Everyone was delighted but after around 15 minutes I got a call from sales asking my to take the cats down. „It’s not very businessy, take it down!”. „The site is down either way, would you rather our clients stare at a dry message or something funny?”. „Dry message! Take it down”. „No” and I hung up. So proud of myself that I stood up to them. I think the cats are still up to this day ;)

    The point of this story is that http.cat made me think of those cat pages, thanks!

  • tanelpoder7 days ago
    Since we are talking cats here, let me plug my CatBench vector search playground app, intended to learn and demonstrate in a visual way how (PyTorch + ViT) image embeddings and (Postgres) vector search work together with your regular OLTP transactional data. I implemented a toy version of a purchase recommendation system based on “cat customer” image similarity and “cat fraud detection” building block too:

    https://github.com/tanelpoder/catbench

    Also, a simple browser-only page for visually demonstrating what embeddings/vectors physically are, for explaining this to database & storage folks:

    https://tanelpoder.com/catvector/

    (Initial load of the vector heatmaps may take a few seconds when you click on a pet type)

  • mshroyer7 days ago
    Illustrating "451 Unavailable For Legal Reasons" with Ray Bradbury made me laugh
    • shmeeed7 days ago
      Thank you for explaining the reference!
      • mshroyer7 days ago
        I didn't realize, until recognizing Bradbury in that image yesterday, that HTTP status 451 is an explicit reference to "Fahrenheit 451", but apparently it is: https://www.rfc-editor.org/rfc/rfc7725

        In the acknowledgments section,

        > Thanks also to Ray Bradbury.

  • nkrisc8 days ago
    Is the picture for 303 meant to be the device from Heisenberg’s thought experiment?
    • meken7 days ago
      I was wondering the same thing.
    • shmeeed7 days ago
      Obviously
  • joebig6 days ago
    Cat, n.

        A soft, indestructible automaton provided by nature to be kicked when things go wrong in the domestic circle.
  • 7 days ago
    undefined
  • meken7 days ago
    Love it.

    Only feedback I have is when I click into an image then hit back, it brings me to the top of the page which is kind of annoying. I wish it held my place.

  • swordsith7 days ago
    love this lol so many images I've never seen before but definitely should be peak internet culture.
  • t1234s8 days ago
    Do any browsers recognize a 420 response code?
    • graypegg8 days ago
      Your browser (if you're using one of the "usual ones") doesn't really do much with the response's status code if it doesn't match a few specific ones for redirecting/caching/protocol shenanigans.

      Anything in the 4XX range is going to be treated as just a regular ol' response, just like 404. (You could serve an entire site with all responses set to status=404, and be fine... other than probably never getting any cache hits) If you don't include a body in the response, the browser might sub in it's own error page, but it will just communicate that the user agent made a bad request.

      • Sohcahtoa828 days ago
        I've seen sites that use unexpected HTTP response codes, I think to try to defeat bots. The front page would return a 503 Service Unavailable, but the body was just normal content that would load a bot detection script and then redirect you to the actual content.

        I successfully wrote a bot that would bypass it all, but it was weird, and became a slight challenge since I couldn't rely on response codes to determine if I succeeded. When I solved the challenge, it would return a 400 Bad Request while serving me the content I was looking for.

      • Nextgrid7 days ago
        204 has weird behavior in Safari and Firefox for example. Entering a URL returning 204 in the URL bar will not change the URL bar to it, leaving its contents to whatever was there before. Similarly if you click on it it would not actually navigate to the page.

        URL to test: https://httpbin.org/status/204

      • mananaysiempre8 days ago
        Once upon a time, Internet Explorer used to substitute its own error pages if the body of the error response was too short for its liking. Those depended on whcih error code it got. (I expect nobody has used an old enough IE to see those pages for at least a decade.)
  • shevy-java8 days ago
    Why is the quality of the pictures so low?
    • wpm8 days ago
      Because this website has been around for a long time and pictures didn't used to be so big
  • falcor848 days ago
    Not to be confused with Cat as a Service - https://cataas.com/
    • rogeriopvl7 days ago
      This is a great idea. Love it!
  • adocomplete8 days ago
    I'm partial to http.dog
  • npodbielski8 days ago
    450 gave me good chuckle
  • 7 days ago
    undefined
  • superkuh8 days ago
    HTTP 000: HTTP not found. HTTPS CA TLS only.

    That said, at least they have a broad cipher set support and their HTTPS-only implemetation does work in older browsers and systems. That's nice. But HTTP+HTTPS would be better.

  • throwaway2907 days ago
    I don't get why this picture for HTTP 497.
  • agcat8 days ago
    This is hilarious
  • tkiolp48 days ago
    This is fun because it’s pre-AI and most of the pics are real. Doing this nowadays would be a meh.
  • montroser8 days ago
    Nginx makin' up status codes...
  • tonychang4307 days ago
    every once in a while i use this! it's so easy to memorize this domain
  • opengrass7 days ago
    599 is good for any error.
  • lsofzz7 days ago
    Haha made my day
  • cat-whisperer8 days ago
    this is exactly what I was looking for!
  • dionian7 days ago
    glad you got the teapot
  • jama2117 days ago
    Now this is what the internet was made for
  • ulrischa8 days ago
    Wo makes this with babies?
  • roninapps7 days ago
    [dead]