Tornado 4.5 Documentation
org/wiki/Cross-site_request_forgery Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack @asynchronous is first, but @asynchronous will be ignored in this case) This decorator should only be applied to the HTTP verb methods; its behavior is undefined for any other method. This decorator does not yield future_func(arg1, arg2) callback() Note that @return_future and @gen.engine can be applied to the same function, provided @return_future appears first. However, consider using @gen.coroutine0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 4.5 Documentation
org/wiki/Cross-site_request_forgery Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack @asynchronous is first, but @asynchronous will be ignored in this case) This decorator should only be applied to the HTTP verb methods; its behavior is undefined for any other method. This decorator does not caller(callback): yield future_func(arg1, arg2) callback() Note that @return_future and @gen.engine can be applied to the same function, provided @return_future appears first. However, consider using @gen.coroutine0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack @asynchronous is first, but @asynchronous will be ignored in this case) This decorator should only be applied to the HTTP verb methods; its behavior is undefined for any other method. This decorator does not Utilities 141 Tornado Documentation, Release 5.1.1 Note that @return_future and @gen.engine can be applied to the same function, provided @return_future appears first. However, consider using @gen.coroutine0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 5.1 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack @asynchronous is first, but @asynchronous will be ignored in this case) This decorator should only be applied to the HTTP verb methods; its behavior is undefined for any other method. This decorator does not def caller(): await future_func(arg1, arg2) Note that @return_future and @gen.engine can be applied to the same function, provided @return_future appears first. However, consider using @gen.coroutine0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.1 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.4 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
the byte string as UTF-8. Changed in version 3.2.2: The xsrf token will now be have a random mask applied in every request, which makes it safe to include the token in pages that are compressed. See http://breachattack Parameters • color (bool) – Enables color support. • fmt (str) – Log message format. It will be applied to the attributes dict of log records. The text between %(color)s and %(end_color)s will be colored equivalent of @gen.coroutine, to be applied to test methods. @gen.coroutine cannot be used on tests because the IOLoop is not already running. @gen_test should be applied to test methods on subclasses of0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













