summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/middleware.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt
index cc7607da0a..7e1e01dd87 100644
--- a/docs/topics/http/middleware.txt
+++ b/docs/topics/http/middleware.txt
@@ -130,12 +130,11 @@ view; it'll apply response middleware to that
.. note::
- Accessing :attr:`request.POST <django.http.HttpRequest.POST>` or
- :attr:`request.REQUEST <django.http.HttpRequest.REQUEST>` inside middleware
- from ``process_request`` or ``process_view`` will prevent any view running
- after the middleware from being able to :ref:`modify the upload handlers
- for the request <modifying_upload_handlers_on_the_fly>`, and should
- normally be avoided.
+ Accessing :attr:`request.POST <django.http.HttpRequest.POST>` inside
+ middleware from ``process_request`` or ``process_view`` will prevent any
+ view running after the middleware from being able to :ref:`modify the
+ upload handlers for the request <modifying_upload_handlers_on_the_fly>`,
+ and should normally be avoided.
The :class:`~django.middleware.csrf.CsrfViewMiddleware` class can be
considered an exception, as it provides the