Y
Hacker News
new
|
ask
|
show
|
jobs
by
ako
2374 days ago
404 indicates an error, if the result is just empty but not erroneous 204 "no content" may be better.
1 comments
wwweston
2374 days ago
+1, 204 is underutilized for no-result cases.
link
jbverschoor
2374 days ago
In the browser it will also do no page refresh as there is nothing to render.
link