Tornado 6.5 Documentation
parameter permanent which you can use to indicate that the redirection is considered permanent. The de- fault value of permanent is False, which generates a 302 Found HTTP response code and is appropriate example (note that a StaticFileHandler can be installed automatically with the static_path setting de- scribed below): application = web.Application([ (r"/static/(.*)", web.StaticFileHandler, {"path": All AsyncHTTPClient implementations support a defaults keyword argument, which can be used to set de- fault values for HTTPRequest attributes. For example: AsyncHTTPClient.configure( None, defaults0 码力 | 272 页 | 1.12 MB | 2 月前3Rust 程序设计语言 简体中文版 1.85.0
简体中文版 at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/ panicking.rs:692:5 1: core::panicking::panic_fmt at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ /core/src/ panicking.rs:75:14 2: core::panicking::panic_bounds_check at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ panicking.rs:273:5 3:0 码力 | 562 页 | 3.23 MB | 8 天前3
共 2 条
- 1