Hacker News new | ask | show | jobs
by lukiebriner 3852 days ago
I agree with parent5446 - there are various codes that although they are usually only used by web servers, they are also used in some REST APIs, including mine.

e.g. I return 304 when people query an image 1) Because it is not a static resource but is pulled in from another server and 2) It will never expire because if it changed, a parameter in the URL would also change.