Please sign in to comment.
Update to 4.0. Add py-curl dependency for curl_httpclient.
Highlights The tornado.web.stream_request_body decorator allows large files to be uploaded with limited memory usage. Coroutines are now faster and are used extensively throughout Tornado itself. More methods now return Futures, including most IOStream methods and RequestHandler.flush. Many user-overridden methods are now allowed to return a Future for flow control. HTTP-related code is now shared between the tornado.httpserver, tornado.simple_httpclient and tornado.wsgi modules, making support for features such as chunked and gzip encoding more consistent. HTTPServer now uses new delegate interfaces defined in tornado.httputil in addition to its old single-callback interface. New module tornado.tcpclient creates TCP connections with non-blocking DNS, SSL handshaking, and support for IPv6. Backwards-compatibility notes tornado.concurrent.Future is no longer thread-safe; use concurrent.futures.Future when thread-safety is needed. Tornado now depends on the certifi package instead of bundling its own copy of the Mozilla CA list. This will be installed automatically when using pip or easy_install. This version includes the changes to the secure cookie format first introduced in version 3.2.1, and the xsrf token change in version 3.2.2. If you are upgrading from an earlier version, see those versions' release notes. WebSocket connections from other origin sites are now rejected by default. To accept cross-origin websocket connections, override the new method WebSocketHandler.check_origin. WebSocketHandler no longer supports the old draft 76 protocol (this mainly affects Safari 5.x browsers). Applications should use non-websocket workarounds for these browsers. Authors of alternative IOLoop implementations should see the changes to IOLoop.add_handler in this release. The RequestHandler.async_callback and WebSocketHandler.async_callback wrapper functions have been removed; they have been obsolete for a long time due to stack contexts (and more recently coroutines). curl_httpclient now requires a minimum of libcurl version 7.21.1 and pycurl 7.18.2. Support for RequestHandler.get_error_html has been removed; override RequestHandler.write_error instead.
- Loading branch information...
Showing with 22 additions and 9 deletions.
|@@ -1,5 +1,5 @@|
|-$NetBSD: distinfo,v 1.5 2014/06/09 12:33:43 wiz Exp $|
|+$NetBSD: distinfo,v 1.6 2014/07/22 12:41:28 wiz Exp $|
|-SHA1 (tornado-3.2.2.tar.gz) = ede9603adcceaf1b6085fd5a973cec50c7391888|
|-RMD160 (tornado-3.2.2.tar.gz) = d1cd5f74dd32a618deb0c3e55661692a1c47f0de|
|-Size (tornado-3.2.2.tar.gz) = 405596 bytes|
|+SHA1 (tornado-4.0.tar.gz) = 466e73db0d9e7a030f6933346e191637ae6ddd8a|
|+RMD160 (tornado-4.0.tar.gz) = 89dd21f39567d645456d727854be7060e95b7cd0|
|+Size (tornado-4.0.tar.gz) = 313742 bytes|