From b7ef72b9ca945e51ee2835e4043c8a367398e2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Fri, 26 Jul 2013 18:31:31 +0200 Subject: docs: Make html example consistent with the according python code. --- docs/tutorial.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index c8b8c71..5e4bb0e 100755 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -597,9 +597,9 @@ Let us start from the beginning. In HTML, a typical ``
`` looks something l .. code-block:: html - - - + Login: + Password: +
The ``action`` attribute specifies the URL that will receive the form data. ``method`` defines the HTTP method to use (``GET`` or ``POST``). With ``method="get"`` the form values are appended to the URL and available through :attr:`BaseRequest.query` as described above. This is considered insecure and has other limitations, so we use ``method="post"`` here. If in doubt, use ``POST`` forms. -- cgit v1.2.1