tower-web
tower-web copied to clipboard
Should return 404 when path extraction fails
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.