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
@app.route( r"/test/<regex(user(\d+)?):user>/<sport>" ) def test(user, sport): return ("OK", "text/plain", "YO")
this will fail here
lambda-proxy/lambda_proxy/proxy.py
Lines 401 to 413 in ac5ad11
because url_args = route_expr.match(url).groups() will return ('user1234', '1234', 'rugby')
url_args = route_expr.match(url).groups()
('user1234', '1234', 'rugby')
Use patterns ?
The text was updated successfully, but these errors were encountered:
add test for #24
e4173e2
vincentsarago
No branches or pull requests
this will fail here
lambda-proxy/lambda_proxy/proxy.py
Lines 401 to 413 in ac5ad11
because
url_args = route_expr.match(url).groups()
will return('user1234', '1234', 'rugby')
fix
Use patterns ?
The text was updated successfully, but these errors were encountered: