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

I didn’t know that, that’s interesting. I’d expect 100-199 responses to be able to render a result as well, at the very least.


All response codes should really be able to contain content that doesn't look terrible. A 404 can be a nicely formatted "not found" page that's consistently styled and looks like the rest of the app, for example.


> I didn’t know that, that’s interesting.

Yeah, it caught me by surprise first time I used htmx. I spent forever trying to troubleshoot why it wouldn't render the error message, then I discovered it was the old "feature not a bug".




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

Search: