> Consider the following wsgi app:
>
> def application(env, start_response):
> start_response('200 OK',[('Content-type','text/plain')])
> yield "hello"
> x=1/0
> yield "world"
>
> The result of this is that the web browser displays "hello" and an
> error
> message ends up in the web log
On Jan 20, 8:03 am, Jean-Paul Calderone wrote:
> On Mon, 19 Jan 2009 12:15:29 -0800, Ron Garret wrote:
> >Consider the following wsgi app:
>
> >def application(env, start_response):
> > start_response('200 OK',[('Content-type','text/plain')])
> > yield "hello"
> > x=1/0
> > yield "world"
>
>
On Mon, 19 Jan 2009 12:15:29 -0800, Ron Garret wrote:
Consider the following wsgi app:
def application(env, start_response):
start_response('200 OK',[('Content-type','text/plain')])
yield "hello"
x=1/0
yield "world"
The result of this is that the web browser displays "hello" and an error
m