From: Casey Date: Thu, 10 Sep 2009 18:35:29 +0000 (-0700) Subject: typo X-Git-Tag: v1.0.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48e2b1129be390fca684635f6f232fe26adb63b;p=thirdparty%2Ftornado.git typo --- diff --git a/website/templates/documentation.txt b/website/templates/documentation.txt index 15db9dab0..fef0a8ac1 100644 --- a/website/templates/documentation.txt +++ b/website/templates/documentation.txt @@ -624,14 +624,14 @@ at the end of the page. When a request handler is executed, the request is automatically finished. Since Tornado uses a non-blocking I/O style, you can override this default behavior if you want a request to remain open after the main request handler -method returns using the `tonado.web.asynchronous` decorator. +method returns using the `tornado.web.asynchronous` decorator. When you use this decorator, it is your responsibility to call `self.finish()` to finish the HTTP request, or the user's browser will simply hang: class MainHandler(tornado.web.RequestHandler): - @tonado.web.asynchronous + @tornado.web.asynchronous def get(self): self.write("Hello, world") self.finish()