Tornado 6.0 Documentation
score = float(parts[1][2:]) except (ValueError, TypeError): score = 0.0 else: score = 1.0 locales.append((parts[0], score)) if locales: locales.sort(key=lambda pair: pair[1], reverse=True) codes = [l[0] for l in locales] return locale0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
score = float(parts[1][2:]) except (ValueError, TypeError): score = 0.0 else: score = 1.0 locales.append((parts[0], score)) if locales: locales.sort(key=lambda pair: pair[1], reverse=True) codes = [loc[0] for loc in locales] return locale0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.1 Documentation
set_cookie now accepts a max_age keyword argument to set the max-age cookie attribute (note under- score vs dash) • tornado.web.RequestHandler.set_default_headers may be overridden to set headers in a way0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 4.5 Documentation
set_cookie now accepts a max_age keyword argument to set the max-age cookie attribute (note under- score vs dash) • tornado.web.RequestHandler.set_default_headers may be overridden to set headers in a way0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 5.1 Documentation
set_cookie now accepts a max_age keyword argument to set the max-age cookie attribute (note under- score vs dash) • tornado.web.RequestHandler.set_default_headers may be overridden to set headers in a way0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 6.0 Documentation
set_cookie now accepts a max_age keyword argument to set the max-age cookie attribute (note under- score vs dash) • tornado.web.RequestHandler.set_default_headers may be overridden to set headers in a way0 码力 | 245 页 | 885.76 KB | 1 年前3
共 6 条
- 1