The decorator can do anything. In flask the decorator syntax is just shorthand for adding the route to a registry which is looked up every request.
The source code is pitifully small: https://bitbucket.org/mitsuhiko/flask/src/4d82231621fc/flask...
The source code is pitifully small: https://bitbucket.org/mitsuhiko/flask/src/4d82231621fc/flask...
No comments yet.