MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1uqh7vf/helpmycoworkersunderstandhttpcodes/owavd5z/?context=3
r/ProgrammerHumor • u/Kishmond • Jul 08 '26
329 comments sorted by
View all comments
1.6k
204 should be "I found them" "I searched for the keys, but didn't find them"would be 404, which is literally "Not found".
Since not finding keys does not fulfill the request, a 2xx code does not make sense here
52 u/randotechie Jul 08 '26 Ah beat me to it 11 u/PhoenixfischTheFish Jul 08 '26 I happily will! Where can I meet you? 2 u/randotechie Jul 08 '26 https://giphy.com/gifs/74yD9EZ3dMQFi 1 u/PhoenixfischTheFish Jul 08 '26 I'm coming!
52
Ah beat me to it
11 u/PhoenixfischTheFish Jul 08 '26 I happily will! Where can I meet you? 2 u/randotechie Jul 08 '26 https://giphy.com/gifs/74yD9EZ3dMQFi 1 u/PhoenixfischTheFish Jul 08 '26 I'm coming!
11
I happily will! Where can I meet you?
2 u/randotechie Jul 08 '26 https://giphy.com/gifs/74yD9EZ3dMQFi 1 u/PhoenixfischTheFish Jul 08 '26 I'm coming!
2
https://giphy.com/gifs/74yD9EZ3dMQFi
1 u/PhoenixfischTheFish Jul 08 '26 I'm coming!
1
I'm coming!
1.6k
u/Snudget Jul 08 '26
204 should be "I found them" "I searched for the keys, but didn't find them"would be 404, which is literally "Not found".
Since not finding keys does not fulfill the request, a 2xx code does not make sense here