[Web-SIG] Future of WSGI

Henry Precheur henry at precheur.org
Wed Nov 25 00:18:39 CET 2009


On Tue, Nov 24, 2009 at 11:57:08PM +0100, Malthe Borch wrote:
> 2009/11/24 Henry Precheur <henry at precheur.org>:
> > Are you talking about PEP-333 or RFC 2616?
> 
> RFC 2616, which you linked to.

Environment is not an 'official' term in RFC 2616, because it's about
HTTP, not WSGI.

> > Then what? Your proposal doesn't work. So let's forget about it and
> > stick to dict?
> 
> class Request(object):
>     ...
> 
> class Response(object):
>     ...

Please replace '...' with actual code or at least some description of
what it's doing. Lots of people have been trying to define a nice
interface for these objects for YEARS. People who know a great deal
about HTTP, and Python. And yet there's not a single implementation
that's widely accepted as the "best of breed".

-- 
  Henry Prêcheur


More information about the Web-SIG mailing list