On Tue, Nov 24, 2009 at 11:57:08PM +0100, Malthe Borch wrote:
> 2009/11/24 Henry Precheur <he...@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
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to