tornado
tornado copied to clipboard
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
This PR re-factors the gen.coroutine runner to exercise the generator in the context of a single asyncio.Task. With this update gen.coroutines will work more like native coroutines and work with...
The tornado.locale.Locale.get_closest() (and as such by extension tornado.locale.get) function is a bit malformed. It tries to match two character language codes directly against the frozenset in which the five character...
This fixes the situation where the browser returns a two character locale, such as de, but the supported_locales includes de_DE. Prior to this fix, it would return en_US (default) as...
SimpleAsyncHTTPClient randomly blocking on "ValueError: IOStream is not idle; cannot convert to SSL"
Hi, I'm using `SimpleAsyncHTTPClient` to perform a few hundred requests per minute. It has been working fine until I started encountering the error below. This error happens randomly (I didn't...
The `StaticFileHandler` should use `os.sendfile()` if available. While static files would commonly be sent by an external webserver (nginx etc.) in a production environment, sometimes files are generated on the...
When the websocket client receives a redirect status code, rather than a 101, it throws the following exception: ``` ERROR:tornado.application:Uncaught exception Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/tornado/http1connection.py", line 237,...
Hi all, love tornado, but I have this issue I've been dealing with for a while and figured it deserved a write up. I looked through all the previous autoreload...
The user just needs to cancel the Future passed by the fetch() function, and it'll properly close the connection. This works on curl_httpclient. Simple_httpclient hasn't been implemented.
Per the issue listed here: https://github.com/tornadoweb/tornado/issues/2668 I have taken a first pass at Contribution Guidelines for Tornado Web Server If I am missing key information or need to make any...