Thanks to Alexandre Conrad, Atsushi Odagiri, Pior Bastida and Tres Seaver for their contributions.
In :class:`paste.deploy.config.PrefixMiddleware` the headers X-Forwarded-Scheme and X-Forwarded-Proto are now translated to the key environ['wsgi.url_scheme']. Also X-Forwarded-For is translated to environ['REMOTE_ADDR']
Also in PrefixMiddleware, if X-Forwarded-Host has multiple (comma-separated) values, use only the first value.
Allow variable setting like:
get local_var = global_var_name
To bring in global variables to the local scope.
Allow interpolation in files, like %(here)s. Anything in the [DEFAULTS] section will be available to substitute into a value, as will variables in the same section. Also, the special value here will be the directory the configuration file is located in.
Released 26 August 2004
Released 22 August 2004
Initial version released. It's all new.