[Web-SIG] Future of WSGI

Aaron Watters arw1961 at yahoo.com
Wed Nov 25 20:50:22 CET 2009



--- On Wed, 11/25/09, Chris Dent <chris.dent at gmail.com> wrote:

> From: Chris Dent <chris.dent at gmail.com>
> I can (barely) relate to some of the complaints that
> start_response is a pain in the ass, but environ, to me, is
> not broken.

I agree.  It maps nicely onto the underlying protocol
and WSGI is supposed to be low level right?

The biggest problem with start_response is that after
you evaluate

    iterable = application(env, start_response)

Sometimes the start_response has been called and sometimes
it hasn't, and this can break middlewares when they haven't
been tested both ways (repose.who for example seems to
assume it has been called).

By the way, I created a little interface for archiving
notes about wsgi2 here

   http://listtree.appspot.com/wsgi2

To add to it you need to fill in a captcha and use the
password "wsgi".  I thought I announced this to web-sig
yesterday, but apparently I messed up my reply-to.

If you like, please add something there.  I'd be delighted
if you did.  I think it might be an interface that is easier
to "scan" than a million emails.
   -- Aaron Watters



More information about the Web-SIG mailing list