3 ms·
> It can refine the status code instead of overriding it. True, this is sometimes possible when (coincidentally) one of the HTTP specs or extensions defines on
by grandalf 9y ago
> It can refine the status code instead of overriding it.
True, this is sometimes possible when (coincidentally) one of the HTTP specs or extensions defines one of the codes in a way that feels similar enough.
The mistake is to assume that there is already a code for everything and that one does not need to define application specific error codes, which is what many API developers do.