Better HN
topnewbestaskshowjobs
Log inSign up

Noishe

6 karma · joined Apr 4, 2014 (12y ago) · 4 submissions

Submissions

comment 3y ago · link · parent

The thing about 404, is that you can both return 404 as well as an error document that has the structure the author is looking for, which means there is no reason why you can't return a 404 status.

Got 404, returned body is json, returned body is an error object, good to go.

Oh and, by returning a 404 you help intermediate caches know that they should not cache the response.

comment 3y ago · link · parent

I pressed the green button a bunch. Like, a LOT. Zero is such a nice, healthy, round number.

comment 12y ago · link · parent

It will taste better if you use water that is at 90C or 194F.

comment 12y ago · link · parent

There isn't enough attention to this in my opinion. When you research it, everything lines up so nice.