tornado icon indicating copy to clipboard operation
tornado copied to clipboard

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

Results 199 tornado issues
Sort by recently updated
recently updated
newest added

Hi, Recently I've updated my tornado tests container to python:3.10-alpine3.15 from python:3.9.6-alpine3.14. After doing this, my tests started to fail with the error below. These are my dependencies: ``` coverage==5.3...

httpclient
investigation

The old specification of HTTP defined the values of a Location header to be absolute URI's. https://datatracker.ietf.org/doc/html/rfc2616#section-14.30 > Location = "Location" ":" absoluteURI Nowadays, because there are so many broken...

web

Hello, My test codes are below: import traceback from tornado import httpclient def test(): client = httpclient.HTTPClient() url = "http://www.baidu.com/link?url=7rwodBCaetm-ogDMm0fCdkj-Crje0M21LIWnXbz3XxToow8VmZwXOZaEz1nBMJBKofatc2X8SlFXyNvv5D7HhWgpIB8MDi5R85IYL30OjDmW4URWPW5y4AIwkVKioJSxPPBzWJmmaO11fEEO__BLxIiiT1FcKw8asqqF7h1QupS" try: response = client.fetch(url) print(response) except: traceback.print_exc() if __name__ ==...

httpclient

![image](https://user-images.githubusercontent.com/37829370/133734077-ce69175b-9d40-4f46-8cf8-eeeb5dfc0a5f.png) ![image](https://user-images.githubusercontent.com/37829370/133734651-2f18ad3e-0cba-44ef-a0ba-17d3986d7c44.png) Sometimes it could happen when the handler finish the task and callback the result, but the http connection would not be broken until timeout. I figure out that...

investigation

when i send a request like this:HTTPServerRequest(protocol='https', host=': localhost', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1') there is a exception as follow: ERROR:tornado.application:Uncaught exception Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/tornado/http1connection.py", line 273,...

wsgi

`UIModule.render` is [typed](https://github.com/tornadoweb/tornado/blob/master/tornado/web.py#L3198) to return a string whereas `UIModule.render_string` is [typed](https://github.com/tornadoweb/tornado/blob/master/tornado/web.py#L3240) to return `bytes`. The naming of `render_string` is probably a holdover from the Python 2 days and does in...

web
typing

Hi, guys My code works fine in FastAPI, but got errors below in Tornado ! ERROR:asyncio:Task was destroyed but it is pending! source_traceback: Object created at (most recent call last):...

investigation

Hi, Any particular reason why methods calls to _handle_request_exception(e) or on_finish() are not being awaited ? https://github.com/tornadoweb/tornado/blob/1db5b45918da8303d2c6958ee03dbbd5dc2709e9/tornado/web.py#L1709 In my implementation I'm overwriting these methods, but I need async support on...

web

[OWASP recommends](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#login-csrf) to generate a new CSRF token after authentication: > Remember that pre-sessions cannot be transitioned to real sessions once the user is authenticated - the session should be...

web

I'm unable to stop a Tornado service on FreeBSD when using multi-cpu. When I do `service appl start`, I see five processes: * one daemon * four non-daemon threads The...

process