You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trailing slash behaviour is made on purpose here. As described in the README doc in the "Simple router" section.
The implementation code is also clear about that purpose.
That said, other than what net/http does, is there other arguments to discuss about this? I'm open to review the design.
$ curl http://localhost:8080/hello/xxx/
Hello, xxx
curl http://localhost:8080/hello/xxx/
Not found
The text was updated successfully, but these errors were encountered: