Open GoogleCodeExporter opened 9 years ago
Actually cogen beeing an asynchronous server doesn't read the request body - it
leaves it unread so the application can read it asynchronously (via
environ["cogen.input"]).
Apps that want want the old synchronous input (environ["wsgi.input"]) must use a
piece of middleware (cogen.web.async.sync_input). See:
http://code.google.com/p/cogen/source/browse/trunk/cogen/web/async.py#100
I'll have to add this to the docs and also maybe add this as a wsgi server
option.
In this regard cogen doesn't fully follow the wsgi spec but there's that
sync_input
middleware waiting to be added on the stack :)
Original comment by ionel...@gmail.com
on 16 Sep 2009 at 3:32
Original issue reported on code.google.com by
n.vanda...@gmail.com
on 16 Sep 2009 at 2:59