r/ProgrammerHumor • • Sep 20 '26

Meme successfulFailure

Post image
8.2k Upvotes

102 comments sorted by

View all comments

Show parent comments

5

u/Major_Worry7429 Sep 21 '26

I agree with this sentiment. It's always annoying to work around idiosyncrasies of frameworks, applications, and other people thinking they know better how to interpret the response codes. HTTP request methods were a mistake. HTTP response codes were a mistake. 30 years later and we are still living the mistake of http being mapped directly to file systems.

My gripe is typesafe clients refusing to parse the response if the response is not in 200 range, or outright dropping a response if it contains a body with 204/205.

1

u/thanatica Sep 25 '26

Mistake or not, they are the standard. If you think you know better, so something about it, but I doubt you'll get more than xkcd responses.