diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-02-19 08:09:20 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-02-19 08:09:20 +0000 |
| commit | 9d0bf662734b4a7bdf1ae339390c8fe8b0991ea7 (patch) | |
| tree | 51735a71a30df31030942d3ef9b3a98317613e53 /docs/ref/request-response.txt | |
| parent | 7a7ec73efe494235807ade1318c8f3ccade9edc3 (diff) | |
Fixed #17316 -- Mentionned that the MultipleProxyMiddleware provided as an example must run rather early.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index abe68e78e9..0a142cef6d 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -228,6 +228,10 @@ Methods parts = request.META[field].split(',') request.META[field] = parts[-1].strip() + This middleware should be positionned before any other middleware that + relies on the value of :meth:`~HttpRequest.get_host()`, for instance + :class:`~django.middleware.common.CommonMiddleware` or + :class:`~django.middleware.csrf.CsrfViewMiddleware`. .. method:: HttpRequest.get_full_path() |
