Tornado 5.1 Documentation
Blog example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
Blog example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 5.1 Documentation
ee/stable/demos/blog] for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.0 Documentation
ee/stable/demos/blog] for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar (r"/", MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 4.5 Documentation
ee/stable/demos/blog] for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs implementation. Tornado routes HTTP requests to appropriate handlers using Router class implementations. The tornado.web.Application class is a Router implementation and may be used directly, or the classes in this0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
Blog example application for a complete example that uses authentication (and stores user data in a MySQL database). Third party authentication The tornado.auth module implements the authentication and (r"/", MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs implementation. Tornado routes HTTP requests to appropriate handlers using Router class implementations. The tornado.web. Application class is a Router implementation and may be used directly, or the classes in this0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.4 Documentation
validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar (r"/", MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar (r"/", MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
validating the Host HTTP header. This means passing a restrictive hostname pattern to either a HostMatches router or the first argument of Application.add_handlers: # BAD: uses a default host pattern of r'.*' app FooHandler)]), ]) In addition, the default_host argument to Application and the DefaultHostMatches router must not be used in applications that may be vulnerable to DNS rebinding, because it has a similar (r"/", MainPageHandler), (r"/feed", FeedHandler), ]), ]) In addition to this you can use nested Router instances, HTTPMessageDelegate subclasses and callables as routing targets (see routing module docs0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













