Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #17316 -- Mentionned that the MultipleProxyMiddleware provided …

…as an example must run rather early.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9d0bf662734b4a7bdf1ae339390c8fe8b0991ea7 1 parent 7a7ec73
@aaugustin aaugustin authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/ref/request-response.txt
4 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()
Please sign in to comment.
Something went wrong with that request. Please try again.