200 OK
{ "error": 404 }
Post funny things about programming here! (Or just rant about your favourite programming language.)
200 OK
{ "error": 404 }
MS Teams does this unironically
Why do these feel like the 5 stages of grief 🤔
Everyone give it up for the fella who ran a webserver on a teapot
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.
I'm glad that error exists.
You had one chance to use 420 and you squandered it.
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.
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.
Surprised no one's mentioned HTTP Cats yet:
Personally, HTTP 405 (Method not allowed) is my favorite:
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."
401 is more like “Tell me who tf you are or get lost”, while 403 means “You're not on the list, get lost”
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"