Tornado 5.1 Documentation
set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: • A subclass may override get_current_user(), which will be called automatically the first time server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds. Ignored if the ping interval is not set. Authentication0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: A subclass may override get_current_user(), which will be called automatically the first time self server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds. Ignored if the ping interval is not set. Authentication0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: • A subclass may override get_current_user(), which will be called automatically the first time server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds. Ignored if the ping interval is not set. Authentication0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: A subclass may override get_current_user(), which will be called automatically the first time self server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds. Ignored if the ping interval is not set. Authentication0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.0 Documentation
this simple chat room. 5 Tornado Documentation, Release 6.0.4 6 Chapter 2. Hello, world CHAPTER THREE THREADS AND WSGI Tornado is different from most Python web frameworks. It is not based on WSGI, set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: • A subclass may override get_current_user(), which will be called automatically the first time0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.1 Documentation
set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You can RequestHandler.current_user The authenticated user for this request. This is set in one of two ways: 46 Chapter 6. Documentation Tornado Documentation, Release 6.1 • A subclass may override get_current_user() server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds. Ignored if the ping interval is not set. Authentication0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.4 Documentation
this simple chat room. 5 Tornado Documentation, Release 6.4 6 Chapter 2. Hello, world CHAPTER THREE THREADS AND WSGI Tornado is different from most Python web frameworks. It is not based on WSGI, applications that require a long-lived connection to each user. Tornado can be roughly divided into three major components: • A web framework (including RequestHandler which is subclassed to create web applications set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
this simple chat room. 5 Tornado Documentation, Release 6.2 6 Chapter 2. Hello, world CHAPTER THREE THREADS AND WSGI Tornado is different from most Python web frameworks. It is not based on WSGI, applications that require a long-lived connection to each user. Tornado can be roughly divided into three major components: • A web framework (including RequestHandler which is subclassed to create web applications set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
this simple chat room. 5 Tornado Documentation, Release 6.4 6 Chapter 2. Hello, world CHAPTER THREE THREADS AND WSGI Tornado is different from most Python web frameworks. It is not based on WSGI, applications that require a long-lived connection to each user. Tornado can be roughly divided into three major components: • A web framework (including RequestHandler which is subclassed to create web applications set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
this simple chat room. 5 Tornado Documentation, Release 6.4 6 Chapter 2. Hello, world CHAPTER THREE THREADS AND WSGI Tornado is different from most Python web frameworks. It is not based on WSGI, applications that require a long-lived connection to each user. Tornado can be roughly divided into three major components: • A web framework (including RequestHandler which is subclassed to create web applications set_status(404) and producing the response directly in prepare(). Redirection There are two main ways you can redirect requests in Tornado: RequestHandler.redirect and with the RedirectHandler. You0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













