[Web-SIG] When must applications call the WSGI start_response callable.

Phillip J. Eby pje at telecommunity.com
Thu Dec 15 22:03:08 CET 2005


At 03:29 PM 12/15/2005 -0500, James Y Knight wrote:
>I was led to believe this was a valid thing to do from the following
>wording:
> > (Note: the application must invoke the start_response() callable
> > before the iterable yields its first body string, so that the
> > server can send the headers before any body content. However, this
> > invocation may be performed by the iterable's first iteration, so
> > servers must not assume that start_response() has been called
> > before they begin iterating over the iterable.)

Aha!  I knew it was in there somewhere.  :)



More information about the Web-SIG mailing list