Tornado 4.5 Documentation
log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across asynchronous callbacks tornado.testing — Unit testing support for asynchronous code tornado web application The Application object Subclassing RequestHandler Handling request input Overriding RequestHandler methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring and security Cookies and secure cookies User authentication Third party authentication Cross-site request forgery protection Running and deploying Processes and ports Running behind a load balancer Static0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 5.1 Documentation
tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across asynchronous callbacks tornado.testing — Unit testing support for asynchronous code tornado web application The Application object Subclassing RequestHandler Handling request input Overriding RequestHandler methods Error Handling Redirection Asynchronous handlers Templates and UI Configuring and security Cookies and secure cookies User authentication Third party authentication Cross-site request forgery protection DNS Rebinding Running and deploying Processes and ports Running behind a load0 码力 | 359 页 | 347.32 KB | 1 年前3Tornado 5.1 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 4.5 Documentation
they have two major advantages. Error handling is more consistent since the Future.result method can simply raise an exception (as opposed to the ad-hoc error handling common in callback-oriented interfaces) RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 6.5 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.1 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.0 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve 23 Tornado Documentation, Release 6.0.4 Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 6.4 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
your code in the same way you would if it were synchronous. This is especially important for error handling, since try/except blocks work as you would expect in coroutines while this is difficult to achieve RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest HTTPServerRequest for a complete list of attributes. Request data in the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2