Open
Description
We are finding it difficult to agree on the correct jsend status for an HTTP 404 response. Could the spec clarify this somewhat special case?
Two schools of thought here.
- It's the client's fault, so it's
fail
, withdata
set to something like{"message": "Route not found"}
. - The client can't change the request params and try again.
I've taken a look at some implementations, and there seems to be some consensus for HTTP 404 being error
. However, my reading of the spec is that it should be fail
.
Metadata
Metadata
Assignees
Labels
No labels