When a user then navigates to http://<base_url>/foo/ the server will respond with 404 - The resource '' was not found..
I'm wondering whether sub-routers should automatically drop trailing slashes before handling a request.
This needs to be checked against the HTTP specification.
When dealing with subrouters, one might have something like this:
When a user then navigates to
http://<base_url>/foo/
the server will respond with404 - The resource '' was not found.
.I'm wondering whether sub-routers should automatically drop trailing slashes before handling a request. This needs to be checked against the HTTP specification.