Paste's own PrefixMiddleware interprets X-Forwarded- headers, as I
discovered when I was trying to figure out why in the world the X-Forwarded-
headers weren't making it to my application. From the docstring:

    Also, unless disabled, the ``X-Forwarded-Server`` header will be
    translated to the ``Host`` header, for cases when that header is
    lost in the proxying.  Also ``X-Forwarded-Host``,
    ``X-Forwarded-Scheme``, and ``X-Forwarded-Proto`` are translated.
Repoze-dev mailing list

Reply via email to