Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[REST] Allow empty path to be treated as '/' #1135
The first steps taken are to assert on an empty / null path in the router.
I then considered a special handling for empty string as path, which would basically make it work like '/'.
Note about unrelated changes: I (finally) set up editor config on my emacs. Which means everytime I save a file I edited, it is normalized to be conformant to the settings in
changed the title from
Remove an inconsistency between vibe.web.web and vibe.web.rest
[REST] Allow empty path to be treated as '/'
Jun 13, 2015
added a commit
this pull request
Jun 15, 2015
Hi, I don't understand the meaning of this commit. It introduces unwanted failure when I upgrade vibe.d dependency from 0.7.23 to 0.7.24 in my project. I have used the option for setting an empty path to cover both http://localhost/whatever and http://localhost/whatever/ cases. Could you please describe the rationale behind this change? Thank you.