On 30 September 2014 11:47, Alan Kennedy <a...@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 <rbtcoll...@hp.com>
Distinguished Technologist
HP Converged Cloud
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to