tornado
tornado copied to clipboard
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
I was looking at trying to shutdown the selector thread when using `asyncio.run`, and I think it's possible by starting a task that sleeps until it is cancelled, and then...
`SimpleAsyncHTTPClient` accepts a custom `resolver` instance, and this can be used to make an HTTP connection to Unix sockets (see also #2671). I would like to do the same with...
Only allows files to be fetched when referenced by their real path (no `../` or `./` magic).
A new error introduced to mypy is detected in tornado's repository. tornado (https://github.com/tornadoweb/tornado) + tornado/queues.py:384: error: A function returning TypeVar should receive at least one argument containing the same Typevar...
Add or modify web socket client class to take a proxy setting like the curl_httpclient class does. This is a roadblock for connecting to a Websocket server, behind a corporate...
Is there any probability do not capitalize the customized http header. for example: {'authtoken': '1234'} will be capitalized through tornado.httputil.HttpHeaders {'Authtoken': '1234'}. This can bring troubles for some servers.
TCPClient always calls `resolver.resolve(` even if `"host"` is already an IP https://github.com/tornadoweb/tornado/blob/00c9e0ae31a5a0d12e09109fb77ffe391bfe1131/tornado/tcpclient.py#L260-L265 asyncio has a nice implementation that skips the getaddrinfo call https://github.com/python/cpython/blob/b5527688aae11d0b5af58176267a9943576e71e5/Lib/asyncio/base_events.py#L1369-L1380 in this case
According to the comment introduced in tornadoweb/tornado#1873, bytearray shrink is done automatically in Python 3.4+.
It would be nice to see tornado implement http/2, not that AFAIK it's a standard.
There is a use case to use 2 different set of google oauth credentials, due to different app branding. I ran into the "HTTP 401: Unauthorized" error, and it was...