Ticket #17316: 17316.patch

File 17316.patch, 707 bytes (added by Aymeric Augustin, 13 years ago)
  • docs/ref/request-response.txt

     
    223223                                parts = request.META[field].split(',')
    224224                                request.META[field] = parts[-1].strip()
    225225
     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`.
    226230
    227231.. method:: HttpRequest.get_full_path()
    228232
Back to Top