[Web-SIG] PEP 444 (aka Web3)

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Sep 16 13:23:11 CEST 2010


On Thu, Sep 16, 2010 at 01:03, Chris McDonough <chrism at plope.com> wrote:
> A PEP was submitted and accepted today for a WSGI successor protocol
> named Web3:
>
> http://python.org/dev/peps/pep-0444/
>
> I'd encourage other folks to suggest improvements to that spec or to
> submit a competing spec, so we can get WSGI-on-Python3 settled soon.

I find the order of the application return arguments really annoying,
could it just be status, headers, body? Mirrors the actual structure
of the request, which is easier to remember IMO.

Also, I would really like it if the header value returned by
applications must be checked for an .items() method so we can return
(o)dicts in addition to tuples.

I also keep thinking that some things (for example status) should just
be allowed to be text, but restricted to ascii.

Cheers,

Dirkjan


More information about the Web-SIG mailing list