Tornado 6.5 Documentation
Application object is responsible for global configuration, including the routing table that maps requests to handlers. The routing table is a list of URLSpec objects (or tuples), each of which contains above, these methods will be called with arguments corresponding to the capturing groups of the routing rule that matched. Within a handler, call methods such as RequestHandler.render or RequestHandler SEO-friendly manner. RedirectHandler lets you configure redirects directly in your Application routing table. For example, to configure a single static redirect: app = tornado.web.Application([ url(r"/app"0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
RequestHandler and Application classes tornado.template — Flexible output generation tornado.routing — Basic routing implementation tornado.escape — Escaping and string manipulation tornado.locale — Internationalization Application object is responsible for global configuration, including the routing table that maps requests to handlers. The routing table is a list of URLSpec objects (or tuples), each of which contains above, these methods will be called with arguments corresponding to the capturing groups of the routing rule that matched.Within a handler, call methods such as RequestHandler.render or RequestHandler0 码力 | 437 页 | 405.14 KB | 2 月前3
共 2 条
- 1
相关搜索词