Hacker News new | past | comments | ask | show | jobs | submit login
HTTP Status Dogs (2011) (httpstatusdogs.com)
197 points by leonvonblut on June 7, 2021 | hide | past | favorite | 40 comments



One surprisingly practical use I found for things like this; when internal tools throw up a 404 or a 503 with the usual default status page, people assume "oh it's not working, I'll try again later".

When they get an unexpected cat (or dog, in this case) they tend to go and ask their tech team, "what's with the cat?" It's not a substitute for good logging and alerting in any way, and is totally unsuitable for environments where internal tools need to appear professional and sensible, but as a way to get people to pay attention when something goes wrong then a cute animal can work a lot better than a "normal" notification.


Plus it’s gonna send a lot more data over the network. A typical 404 is just a few lines of text. But these are an entire image blob.


Cool > professional. "Professional" is boring. ;)


If internal tools need to appear professional and sensible, then there's a serious culture problem and I don't wanna work there.


Fabulous, inspired by https://http.cat/ of course


http.cat is surprisingly useful because of the short url. Typing in e.g. http.cat/422 beats any other method I know for quickly looking up status codes by number.


httpstatus.es/404 works too, but it's less fun.


If you are using DuckDuckGo then it doesn't get much quicker than typing:

  !http 422


Just type in "error 422" and a Google snippet tells you what it is. Saves 3 characters, doesn't depend on a single website, and returns a more descriptive paragraph instead of some silly image with no relevance...


Disagree. It effectively does depend on a single website.


I just entered "error 422" into DDG and got a useful result so if you interpret the parent post as "use your favorite search engine" then it doesn't depend on a single website.


And for something non-critical I would rather depend on a quirky independent website than on google. I want the internet to be more than six companies dominating everything.


Dumb question, but how does this work? .cat isn't listed as a TLD

https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom...


It's listed, but under geographic TLDs[1] because it's Catalonia's TLD.

Interestingly this TLD only allows website that "to serve the needs of the Catalan Linguistic and Cultural Community on the Internet"[2] which is why http.cat also offers a Catalan version[3].

[1] https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom... [2] https://domini.cat/en/rules-of-the-cat-domain/ [3] https://http.cat/?lang=cat


.cat seems to be a non-geographic TLD focused on the Catalan-speaking community: https://en.wikipedia.org/wiki/.cat


amazing! thanks


Might be okay on a humour site, or perhaps in an internal tool, but some of these are a bit tasteless IMO. It could be far more useful if you were able to pick from a selection of individual images or image sets depending on the usecase. Although even then these kinds of http error images scream early-2000s web humour to me.


> Although even then these kinds of http error images scream early-2000s web humour to me.

I think that's the point and it's a nice throwback :)

But otherwise I agree, https://http.cat/ is far more harmless. Some of those dog pictures would probably not fare well when a less humorous colleague sees them.


I've often wondered why most sites expose these status codes to the end user. The end user does not need to know, and in most cases will probably be confused by it. Plainly worded messages should be presented in the case of errors, not half an RFC.


You can set custom pages for all of those, and they can be helpful and informative.

An Error 500 page used in an internal service could tell you something like "Try again in 5 minutes, and call Joe if it still doesn't work".

An Error 410 page can spell out "We used to have this, but don't anymore because it was obsolete. Please look here for a replacement instead."

The defaults are just that, simple defaults, and these days typically overriden by the web browser to show something more user friendly.


It makes it a ton easier to assist the user when they come to support (“It’s broken” doesn’t go very far, knowing it’s a 500 for instance can help fast track the demand, whatever the actual problem is).

Of course it doesn’t stop you from rendering a nice and plainly worded error.


HTTP 420 is not official. It’s just what Twitter API used to return before 429 existed.


I hadn’t heard of code 418 before - seems like it started as a joke but is now “real” because people use it!


It has a proper RFC and everything [1].

All the April Fools RFCs are worth a read imho [2]. RFC2100 (The Naming of Hosts) and RFC8135 (Complex Addressing in IPv6) are real gems.

1: https://datatracker.ietf.org/doc/html/rfc2324

2: https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for...


Related thread: https://news.ycombinator.com/item?id=24206899

I myself use 418 as a reply to mean bots. Fun + makes filtering logs easier.

Nginx config snippet:

  # Nothing to hack around here, I’m just a teapot:
  location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ { 
      return 418; 
  }
  error_page 418 /418.html;
Example: https://FreeSolitaire.win/wp-login.php


I had a really painful experience with NPM where it was responding 418 and almost no extra info. I had not asked it for a NuGet package.


At most early projects and cool clients, I'll throw together some goofy custom status pages for internal and sometimes public-facing websites and portals. BSOD, Chuck Norris quote generators, web games like Tetris, and so on.


It’s not a dog but still my favorite 404 is

https://media4.giphy.com/media/6uGhT1O4sxpi8/200.gif


501 and 206 are really disturbing.


Disturbing?


the dogs have no legs

similarly 422


226 and 304 are, while funny, also a bit over the top IMO. It would be nice to have a "SFW" version of this page.


I'm genuinely surprised at how many people are in some way put off by the images. I wonder if there's a cultural thing about people who dislike dogs generally. These kind of comment streams are always a good reminder about how you can never anticipate other people's responses.


Well, it really depends on the context. Take this one:

https://httpstatusdogs.com/304-not-modified

I'd surely crack that joke with close friends, but at work I would absolutely not risk that, especially if I don't know whether the receiving party has a similar humor. Compare that with http.cat:

https://http.cat/304

It's a cute picture of cats. It might get an eyeroll, yes, but nobody is going to accuse me of an inappropriate joke for that. 226 is even worse and I know quite a few female colleagues which would probably not take it well, irrespective of it being a picture of a dog.


So? What's disturbing about an amputee?


501 is "not implemented". Makes a joke out of the missing limbs.


Those are really cute!

You can optimize these a bit more using the Kraken.io web interface: https://kraken.io/web-interface

Tried with a few and it shrinks them down ten to 20 percent savings without losing quality.


The http 206 is disturbing.


How do I install them on my nginx or Apache?


and this is why I became a web developer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: