Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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.


It's debatable, but that's probably antithetical to how HTTP is supposed to be perceived when you start thinking about what a body is.


I would tend to agree. Speaking beyond convenience, this isn't a practice that's easy to justify ;)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: