Tornado 6.1 Documentation
max_age_days parameter to get_secure_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) obtained via a call like tornado.locale.get("en") RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.0 Documentation
obtained via a call like tornado.locale.get("en") RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value additional change to support the `session_expires field in the new format. The session_expires field is currently a string; it should be accessed as int(user['session_expires']) because it will change0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
max_age_days parameter to get_secure_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) framework 47 Tornado Documentation, Release 6.1 RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., Documentation, Release 6.1 RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.4 Documentation
max_age_days parameter to get_signed_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) Documentation Tornado Documentation, Release 6.4 RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.2 Documentation
max_age_days parameter to get_secure_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) obtained via a call like tornado. locale.get("en") RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 6.4 Documentation
max_age_days parameter to get_signed_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) Documentation Tornado Documentation, Release 6.4 RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
max_age_days parameter to get_signed_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) Documentation Tornado Documentation, Release 6.4 RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.3 Documentation
max_age_days parameter to get_signed_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) Documentation Tornado Documentation, Release 6.3.3 RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 264 页 | 1.06 MB | 1 年前3Tornado 6.5 Documentation
max_age_days parameter to get_signed_cookie. A value of None limits the lifetime to the current browser session. Secure cookies may contain arbitrary byte values, not just unicode strings (unlike regular cookies) obtained via a call like tornado. locale.get("en") RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 4.5 Documentation
obtained via a call like tornado.locale.get("en") RequestHandler.locale The locale for the current session. Determined by either get_user_locale, which you can override to set the locale based on, e.g., for more information. RequestHandler.xsrf_token The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an ‘_xsrf’ cookie and include the same ‘_xsrf’ value to facebook_request session_expires, an integer encoded as a string representing the time until the access token expires in seconds. This field should be used like int(user['session_expires']); in a future0 码力 | 333 页 | 322.34 KB | 1 年前3
共 20 条
- 1
- 2