[Web-SIG] Latest WSGI Draft

Jim Dabell jim-web-sig at jimdabell.com
Mon Aug 23 07:46:27 CEST 2004


On Monday 23 August 2004 00:26, Phillip J. Eby wrote:
> At 05:41 PM 8/22/04 -0500, Ian Bicking wrote:
> >Phillip J. Eby wrote:
> >>Alright.  Let's make it 'wsgi.run_once'.  Here's my attempt at a shorter
> >>explanation:
> >>``wsgi.run_once``      This value should be true if the server/gateway
> >>                        expects (but does not guarantee!) that the
> >>                        application will only be invoked this one time
> >>                        during the life of its containing process.
> >>                        Normally, this will only be true for a gateway
> >>                        based on CGI (or something similar).
> >
> >Is there a reason it can't be guaranteed?
>
> Is there a reason it *should* be guaranteed?  :)

Clarity?  I don't know about anybody else, but I would assume something called 
run_once would only run once - and write code that also assumed this :).


-- 
Jim Dabell



More information about the Web-SIG mailing list