Tornado 6.1 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests begin- ning with /pictures/ to the prefix /photos/ instead: app = tornado0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests begin- ning with /pictures/ to the prefix /photos/ instead: app = tornado0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.5 Documentationwhich contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 4.5 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests begin- ning with /pictures/ to the prefix /photos/ instead: app = tornado0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests begin- ning with /pictures/ to the prefix /photos/ instead: app = tornado0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.4 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
which contains (at least) a regular expression and a handler class. Order matters; the first matching rule is used. If the regular expression contains capturing groups, these groups are the path arguments 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.write com/my-app-id")), ]) RedirectHandler also supports regular expression substitutions. The following rule redirects all requests beginning with /pictures/ to the prefix /photos/ instead: app = tornado.web0 码力 | 260 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













