Fixed typo in docs/request_response.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-06-22 04:56:35 +00:00
parent a490d6b4f6
commit d8acac975a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ All attributes except ``session`` should be considered read-only.
It's possible that a request can come in via POST with an empty ``POST`` It's possible that a request can come in via POST with an empty ``POST``
dictionary -- if, say, a form is requested via the POST HTTP method but dictionary -- if, say, a form is requested via the POST HTTP method but
does not include form data. Therefore, you shouldn't use ``if request.POST`` does not include form data. Therefore, you shouldn't use ``if request.POST``
to check for use of the POST method; instead, use ``if reuqest.method == to check for use of the POST method; instead, use ``if request.method ==
"POST"`` (see above). "POST"`` (see above).
Note: ``POST`` does *not* include file-upload information. See ``FILES``. Note: ``POST`` does *not* include file-upload information. See ``FILES``.