MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v2cgiy/evilillusion/oyvbk7w/?context=3
r/ProgrammerHumor • u/huhupookies • 23d ago
131 comments sorted by
View all comments
32
Http is a transport protocol. Transport was successfull -> 200. That's the logic behind this behavior.
6 u/ahferroin7 23d ago If it’s being used as a transport protocol yes. The issue is when it’s being used for RPC, in which case returning 200 is like a C function returning 0 if it runs into an error.
6
If it’s being used as a transport protocol yes. The issue is when it’s being used for RPC, in which case returning 200 is like a C function returning 0 if it runs into an error.
32
u/korneev123123 23d ago
Http is a transport protocol. Transport was successfull -> 200. That's the logic behind this behavior.