Tornado 5.1 Documentation
positional arguments if its unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: 38 Chapter 5. Documentation Tornado Documentation, Release 5.1.1 class We ser") if user_cookie: return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.1 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS ser") if user_cookie: return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS ser") if user_cookie: return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 5.1 Documentation
positional arguments if its unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler if user_cookie: return json.loads(user_cookie) return None It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.5 Documentationjson_encode can be used to escape strings, numbers, lists, and dicts. In this example, the JavaScript variable x will be the corresponding JavaScript 28 Chapter 6. DocumentationTornado Documentation, Release positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS ser") if user_cookie: return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS (continued from previous page) return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS ser") if user_cookie: return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS (continued from previous page) return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS (continued from previous page) return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
positional arguments if it’s unnamed). To support a method not on this list, override the class variable SUPPORTED_METHODS: class WebDAVHandler(RequestHandler): SUPPORTED_METHODS = RequestHandler.SUPPORTED_METHODS (continued from previous page) return json.loads(user_cookie) return None • It may be set as a normal variable, typically from an overridden prepare(): @gen.coroutine def prepare(self): user_id_cookie = self escape() function in the examples above. You can pass functions in to your template just like any other variable (In a RequestHandler, override RequestHandler.get_template_namespace): ### Python code def add(x0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













