At 08:25 PM 5/11/2008 -0400, Christopher Stawarz wrote:
Given that the semantics of wsgi.input are, in general, incompatible
with non-blocking execution, I'm inclined to think that such
middleware would either need to be rewritten to use x- wsgiorg.async.input, or just couldn't be used with asynchronous
servers.  But I'll think about it some more -- maybe there's a way to
make this work.

Please read http://www.python.org/dev/peps/pep-0333/#server-extension-apis for the lowdown on this. It's only seven paragraphs, but it already covers this ground thoroughly.


Is
middleware allowed to replace environ with another dict instance
before passing it to the application?

See the same seven paragraphs for the answer to this as well (albeit somewhat implicitly).

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to