Christopher Stawarz ha scritto:
On May 21, 2008, at 1:34 PM, Manlio Perillo wrote:
Instead, the spec recommends that async servers pre-read the request
body
before invoking the app (either by default or as a configurable
option).
This is the best solution most of the time (but not for all
On May 22, 2008, at 4:51 AM, Manlio Perillo wrote:
I'm reading the PEP 342, and I still think that this will not work
as I want for Nginx (where I have no control over the "scheduler").
In fact the PEP 342 says:
"""However, if it were possible to pass values or exceptions *into* a
generator a
On May 21, 2008, at 1:34 PM, Manlio Perillo wrote:
Instead, the spec recommends that async servers pre-read the
request body
before invoking the app (either by default or as a configurable
option).
This is the best solution most of the time (but not for all of the
time), especially if t
Christopher Stawarz ha scritto:
On May 7, 2008, at 4:44 AM, Manlio Perillo wrote:
[...]
I don't think this will solve the problem.
Moreover in your example you buffer the whole request body so that you
have to yield only one time.
Your example was:
def application(environ, start_response):