tower-web icon indicating copy to clipboard operation
tower-web copied to clipboard

Should return 404 when path extraction fails

Open niklasf opened this issue 7 years ago • 0 comments

In the previous example, requests to /users/123 will succeed but a request to /users/foo will result in a response with a status code of 400 (bad request).

In most cases it would be more natural to return 404, since this is a path.

niklasf avatar Aug 25 '18 12:08 niklasf