We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
route function successfully assigns a handler even if some of variable captures resulted in empty string. This may be displeasing in certain setups.
route
With routing table set as follows:
routes = [ (":model", method GET emptyForm) , (":model/model", method GET metamodel) , (":model", method POST create) , (":model/:id", method GET read') , (":model/:id", method DELETE delete) ]
requesting /test/ gets handled by read', not emptyForm, with id parameter set to empty.
/test/
read'
emptyForm
id
The text was updated successfully, but these errors were encountered:
Fixed.
Sorry, something went wrong.
No branches or pull requests
route
function successfully assigns a handler even if some of variable captures resulted in empty string. This may be displeasing in certain setups.With routing table set as follows:
requesting
/test/
gets handled byread'
, notemptyForm
, withid
parameter set to empty.The text was updated successfully, but these errors were encountered: