[Web-SIG] REMOTE_ADDR and proxys
Robert Collins
robertc at robertcollins.net
Sun Oct 12 23:38:59 CEST 2014
On 30 September 2014 11:47, Alan Kennedy <alan at xhaus.com> wrote:
> [Robert]
>> So it sounds like it should be the responsibility of a middleware to
>> renormalize the environment?
>
> In order for that to be the case, you have strictly define what
> "normalization" means.
For a given deployment its well defined. I agree that in general its not.
> I believe that it is not possible to fully specify "normalization", and that
> any attempt to do so is futile.
>
> If you want to attempt it for the specific scenarios that your particular
> application has to deal with, then by all means code your version of
> "normalization" into your application. Or write some middleware to do it.
>
> But trying to make "normalization" a part of a WSGI-style specification is
> impossible.
I don't recall proposing that it should be in a WSGI-style spec.
-Rob
--
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud
More information about the Web-SIG
mailing list