From: Ben Darnell Date: Tue, 9 Nov 2010 19:52:34 +0000 (-0800) Subject: Fix typo in docs X-Git-Tag: v1.2.0~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31b0ab0c5d8bcc695589e89bcf9c5848c1dffdf0;p=thirdparty%2Ftornado.git Fix typo in docs --- diff --git a/website/templates/documentation.txt b/website/templates/documentation.txt index a7a58578e..308412bf1 100644 --- a/website/templates/documentation.txt +++ b/website/templates/documentation.txt @@ -435,7 +435,7 @@ include the application setting `xsrf_cookies`: ], **settings) If `xsrf_cookies` is set, the Tornado web application will set the `_xsrf` -cookie for all users and reject all `POST` requests hat do not contain a +cookie for all users and reject all `POST` requests that do not contain a correct `_xsrf` value. If you turn this setting on, you need to instrument all forms that submit via `POST` to contain this field. You can do this with the special function `xsrf_form_html()`, available in all templates: