HTTP Cats

(http.cat)

412 points | by surprisetalk a day ago ago

69 comments

  • roblh 16 hours 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.

    • silverwind 4 hours ago
      • flexagoon 2 hours ago

        Yes, but opening that and searching for "411" is much slower than just typing "http.cat/411" into the URL bar

        • bayindirh 20 minutes ago

          Also relieves a stress a bit with a funny cat photo. There's also http.dog to the same effect.

    • bennett_dev 4 hours ago

      Same - most of the time I just directly open the specific status (e.g https://http.cat/504 )

    • precommunicator 7 hours ago

      I always post a cat from it whenever I need to specify a response code in an issue ;)

    • snailmailman 12 hours ago

      Same. I know and see several of the codes all the time. But occasionally I encounter a weird one and I always go to http.cat to find out what it is.

      • lazystar 8 hours ago

        i still don't understand 409 errors. saw one for the first time a few weeks ago

        • hvb2 7 hours ago

          Key violation in your database? Can't insert the record because the key already exists? Thus conflict

    • CleverUSB 11 hours ago

      Ahaha same.

  • rogeriopvl 4 hours 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!

    • ashikns 4 hours 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

  • misir 9 hours 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.

    • lazystar 8 hours ago

      still, probably better than a 450 error, at least

  • potatosalad99 20 hours ago

    I love how there is a Catalan version too! I guess it’s probably a requirement for getting the .cat domain.

    • maxbond 17 hours 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.

      • mycall 12 hours ago

        Is that available for every country root server?

        • maxbond 11 hours 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/

    • hbn 17 hours ago

      Does look to be the case.

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

      • maxbond 13 hours 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.

    • Biganon 2 hours ago

      I used to own long.cat and I never bothered

    • paufernandez 14 hours 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.

      • lmz 10 hours ago

        But what if it's a Catalan cat charity?

    • null0ranje 17 hours ago
  • HelloUsername 19 hours ago
  • ivanstepanovftw 11 hours ago

    There is also https://http.dog/

    • fencepost 6 hours 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.

  • aniforprez 6 hours 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"

    • 701mk 5 hours ago

      httpstatus.io is actually a good tool that I've been using for over 3 years now so I think it isn't that domain that got acquired?

  • mszcz 7 hours 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!

  • promiseofbeans 14 hours 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.

  • shoo 11 hours ago
  • mattcantstop 16 hours ago

    404 should have been the cat footprints in the concrete but without the cat.

    • spockz 7 hours ago

      Actually, that would be “401 Gone”. :-)

  • tantalor 15 hours 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

  • carlos-menezes 19 hours ago

    There's an alternative[0] for the canine lovers.

    [0]: https://httpstatusdogs.com

  • chrisweekly 14 hours ago
  • taherm789 20 hours ago

    Love http and love cats

  • meken 11 hours 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.

  • nkrisc 17 hours ago

    Is the picture for 303 meant to be the device from Heisenberg’s thought experiment?

    • meken 11 hours ago

      I was wondering the same thing.

  • mshroyer 10 hours ago

    Illustrating "451 Unavailable For Legal Reasons" with Ray Bradbury made me laugh

  • shevy-java 15 hours ago

    Why is the quality of the pictures so low?

    • wpm 15 hours ago

      Because this website has been around for a long time and pictures didn't used to be so big

  • tonychang430 6 hours ago

    every once in a while i use this! it's so easy to memorize this domain

  • t1234s 18 hours ago

    Do any browsers recognize a 420 response code?

    • graypegg 18 hours 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.

      • Nextgrid 6 hours 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

      • Sohcahtoa82 15 hours 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.

      • mananaysiempre 15 hours 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.)

  • falcor84 18 hours ago

    Not to be confused with Cat as a Service - https://cataas.com/

    • rogeriopvl 5 hours ago

      This is a great idea. Love it!

  • throwaway290 3 hours ago

    I don't get why this picture for HTTP 497.

  • adocomplete 15 hours ago

    I'm partial to http.dog

  • lsofzz 5 hours ago

    Haha made my day

  • jama211 2 hours ago

    Now this is what the internet was made for

  • agcat 15 hours ago

    This is hilarious

  • tkiolp4 16 hours ago

    This is fun because it’s pre-AI and most of the pics are real. Doing this nowadays would be a meh.

  • opengrass 11 hours ago

    599 is good for any error.

  • montroser 17 hours ago

    Nginx makin' up status codes...

  • reaperducer 14 hours 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.)

  • npodbielski 17 hours ago

    450 gave me good chuckle

  • cat-whisperer 18 hours ago

    this is exactly what I was looking for!

  • dionian 10 hours ago

    glad you got the teapot

  • ulrischa 18 hours ago

    Wo makes this with babies?

  • superkuh 19 hours 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.