-
RequestHandler are
designed to be overridden by subclasses when necessary. On every request, the
following sequence of calls takes place:
1. A new RequestHandler object is created on each request.
2. initialize() specify the cookie_secret setting in your Application to use this
method. It should be a long, random sequence of bytes to be used as the HMAC
secret for the signature.
To read a cookie set with this method given route name (or None).
class tornado.routing.RuleRouter(rules: Sequence
[https://docs.python.org/3/library/typing.html#typing.Sequence][Rule | List
[https://docs.python.org/3/library/typing.html#typing
0 码力 |
437 页 |
405.14 KB
| 3 月前 3
-
RequestHandler are designed to be overridden by sub-
classes when necessary. On every request, the following sequence of calls takes place:
1. A new RequestHandler object is created on each request.
2. initialize() specify the cookie_secret setting in your Application to use this method. It should be a long, random
sequence of bytes to be used as the HMAC secret for the signature.
To read a cookie set with this method parametrized url string for a given route name (or None).
class tornado.routing.RuleRouter(rules: Sequence[Rule | List[Any] | Tuple[str | Matcher, Any] | Tuple[str |
Matcher, Any, Dict[str, Any]] | Tuple[str
0 码力 |
272 页 |
1.12 MB
| 3 月前 3
-
RequestHandler are designed to be overridden by subclasses when necessary. On every request, the following sequence of calls takes place: 1. A new RequestHandler object is created on each request. 2. initialize() specify the cookie_secret setting in your Application to use this method. It should be a long, random sequence of bytes to be used as the HMAC secret for the signature. To read a cookie set with this method To generate POT file with context, add following options to step 1 of load_gettext_translations sequence: xgettext [basic options] --keyword=pgettext:1c,2 -- keyword=pgettext:1c,2,3 New in version 4
0 码力 |
869 页 |
692.83 KB
| 1 年前 3
-
RequestHandler are designed to be overridden by subclasses when necessary. On every request, the following sequence of calls takes place: 1. A new RequestHandler object is created on each request. 2. initialize() specify the cookie_secret setting in your Application to use this method. It should be a long, random sequence of bytes to be used as the HMAC secret for the signature. To read a cookie set with this method To generate POT file with context, add following options to step 1 of load_gettext_translations sequence: xgettext [basic options] --keyword=pgettext:1c,2 -- keyword=pgettext:1c,2,3 New in version 4.2
0 码力 |
931 页 |
708.03 KB
| 1 年前 3
-
RequestHandler are designed to be overridden by subclasses when necessary. On every request, the following sequence of calls takes place: 1. A new RequestHandler object is created on each request. 2. initialize() specify the cookie_secret setting in your Application to use this method. It should be a long, random sequence of bytes to be used as the HMAC secret for the signature. To read a cookie set with this method html#json.dumps] with the additional guarantee that the output will never contain the character sequence which can be problematic when JSON is embedded in an HTML