Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.3.X] Fixed #17316 -- Mentionned that the MultipleProxyMiddleware p…

…rovided as an example must run rather early. Backport of r17556 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7baee7a03b8f9ec4840942eecb80fcbe1c75b231 1 parent 2a5a0b8
Aymeric Augustin authored February 19, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/request-response.txt
4  docs/ref/request-response.txt
@@ -223,6 +223,10 @@ Methods
223 223
                                 parts = request.META[field].split(',')
224 224
                                 request.META[field] = parts[-1].strip()
225 225
 
  226
+        This middleware should be positionned before any other middleware that
  227
+        relies on the value of :meth:`~HttpRequest.get_host()`, for instance
  228
+        :class:`~django.middleware.common.CommonMiddleware` or
  229
+        :class:`~django.middleware.csrf.CsrfViewMiddleware`.
226 230
 
227 231
 .. method:: HttpRequest.get_full_path()
228 232
 

0 notes on commit 7baee7a

Please sign in to comment.
Something went wrong with that request. Please try again.