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

Currently if in the headers the `Accept` header had a value of `text/*, text/html, text/html;level=1, */*`, then `self.request.headers.get_list("Accept")` would return: `["text/*, text/html, text/html;level=1, */*"]` The documentation for get_list says: "Returns...

httpserver

This is a feature request / proposal to add ASGI support to tornado. Advantages are twofold: 1. It would "automatically" add HTTP/2-support to tornado given a suitable server like hypercorn...

other

WebSocketHandler doesn't currently have a good way of installing a class-wide handler for uncaught exceptions. The only way is to override `_run_callback`, but that's awkward (and the method is changing...

websocket

Hi, I'm using Tornado 5.1.1 Recently I upgraded my python from 2.7.15 to 3.6.8. Yesterday I got a strange exceptions for a few seconds (tons of that): ``` 2020-04-04 21:04:39.153...

investigation

Google OAuth2 has changed the parameters to be passed to change the code to access_token. params = { 'code':code, 'client_id':self.settings['google_oauth']['key'], 'client_secret':self.settings['google_oauth']['secret'], 'redirect_uri':'http://localhost', 'grant_type':'authorization_code', } As these params cant be passed...

auth

The `HTTPRequest.remote_ip` field is intended to contain a trustworthy equivalent of the TCP-level remote address, so it accepts only a single `X-Forwarded-For` hop, and only when configured to do so....

httpserver

This line seems implies the body is always a text, which is not always true: https://github.com/tornadoweb/tornado/blob/v4.5.1/tornado/curl_httpclient.py#L424 Can we unify the API, e.g. wrap `body_producer` to `pycurl.READFUNCTION`?

httpclient

I didn't find much online about this, but when connecting through cloudflare to a tornado WebSocket handler I received these headers: ``` Host: dataframe.vaex.io X-Real-Ip: 141.101.105.77 X-Forwarded-For: 89.188.19.102, 141.101.105.77 Connection:...

websocket

This PR just makes SSLIOStream and HTTPServerRequest inherit from Configurable to address https://github.com/tornadoweb/tornado/issues/2364 As far as I can tell, all the tests are still passing. One drawback though is that...

iostream

A somewhat more recent approach to CSRF is setting `samesite=strict` on a cookie. SameSite is handy because it allows the browser to enforce the same-site-ness of a request, without needing...

web