3 ms·
Probably because HTTP status codes are perceived to be at a different layer of the response than the body. A lot of developers (myself included, for trivial thi
by woodruffw 11y ago
Probably because HTTP status codes are perceived to be at a different layer of the response than the body. A lot of developers (myself included, for trivial things) treat HTTP bodies as strings with no associated metadata.
- jsmthrowaway 11y agoIt's debatable, but that's probably antithetical to how HTTP is supposed to be perceived when you start thinking about what a body is.
- woodruffw 11y agoI would tend to agree. Speaking beyond convenience, this isn't a practice that's easy to justify ;)