]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add new exception tornado.web.Finish to quietly end a request.
authorBen Darnell <ben@bendarnell.com>
Thu, 19 Jun 2014 13:28:45 +0000 (09:28 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 19 Jun 2014 13:51:53 +0000 (09:51 -0400)
commit596038c28478b9ba85bcf0e34322d663bc641db4
treec2591437fd9d1ddbfb72c2ade0c1d7a6e565d881
parent2cec3195f2b9df1b3c745355739bc61952849f5d
Add new exception tornado.web.Finish to quietly end a request.

This allows error pages to be generated inline with the main code
instead of in write_error and is friendlier to generating error pages
from library code.

Closes #1064.
docs/web.rst
tornado/test/web_test.py
tornado/web.py