Tornado 6.1.0 release


Tornado 6.1.0 release

Tornado is a non-blocking web server and framework written in Python. Tornado was built for high performance and can handle tens of thousands of concurrent persistent connections, making it an ideal solution for handling long poll requests, WebSockets, and web applications that require a long-lasting connection to each user. Tornado consists of a web framework, an HTTP client and a server, implemented on the basis of an asynchronous network core and a coroutine library.

New in this version:

  • This is the last release to support Python 3.5, future versions will require Python 3.6+
  • binary wheels are now available for Windows, MacOS and Linux (amd64 and arm64)

httpclient

  • defaults to User-Agent Tornado/$VERSION if user_agent is not specified
  • tornado.simple_httpclient always uses GET after 303 redirect
  • disabling timeout by setting request_timeout and/or connect_timeout to zero

httputil

  • header parsing has been accelerated
  • parse_body_arguments now accepts non-ASCII input with partial escape

websites

  • RedirectHandler.get now accepts named arguments
  • When sending 304 responses, more headers are now saved (including Allow)
  • Etag headers are now generated using SHA-512 instead of MD5 by default

web socket

  • ping_interval timer now stops when connection is closed
  • websocket_connect now causes an error when redirecting instead of freezing

Source: linux.org.ru