Top "Tornado" questions

Tornado is a scalable web server and web framework for Python specializing in handling thousands of simultaneous connections and real-time services.

Is JSON Hijacking still an issue in modern browsers?

I am using Backbone.js and the Tornado web server. The standard behavior for receiving collection data in Backbone is …

javascript json security browser tornado
Python SyntaxError: ("'return' with argument inside generator",)

I have this function in my Python program: @tornado.gen.engine def check_status_changes(netid, sensid): como_url = "".join([…

python return generator tornado
How do I return HTTP error code without default template in Tornado?

I am currently using the following to raise a HTTP bad request: raise tornado.web.HTTPError(400) which returns a html …

python tornado
How to get image size (bytes) using PIL

I found out how to use PIL to get the image dimensions, but not the file size in bytes. I …

python python-imaging-library tornado filesize
How to make SQLAlchemy in Tornado to be async?

How to make SQLAlchemy in Tornado to be async ? I found example for MongoDB on async mongo example but I …

python python-2.7 sqlalchemy tornado
Differences between node.js and Tornado

Besides the fact that node.js is written in JS and Tornado in Python, what are some of the differences …

javascript python comparison node.js tornado
When and how to use Tornado? When is it useless?

Ok, Tornado is non-blocking and quite fast and it can handle a lot of standing requests easily. But I guess …

python asynchronous nonblocking tornado
How do I stop Tornado web server?

I've been playing around a bit with the Tornado web server and have come to a point where I want …

python tornado
Is Tornado a replacement to Django or are they complementary to each other?

I have several questions about Tornado and other web frameworks. 1) Tornado claims to be a webserver (a non-blocking one, therefore …

django tornado
How to upload an image with python-tornado from an HTML form?

I saw examples that used pycurl, but could not be sure if this is the way to go with? Some …

python tornado image-upload