[Web-SIG] Proposed WSGI extensions for asynchronous servers

Ionel Maries Cristian ionel.mc at gmail.com
Mon May 12 06:01:40 CEST 2008

> My thinking is that the server *creates* the environ dictionary, so it can
> just keep a reference to it and update it as needed.  Is middleware allowed
> to replace environ with another dict instance before passing it to the
> application?  I wasn't aware that this was allowed, but if it is, then I see
> the problem.
> The solution would probably be for the application to pass a mutable
> object (e.g. an empty list) to readable/writable that the server could set a
> timeout flag on.

How about a environ['x-wsgiorg.async'].timeout ? I do something like that in

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20080512/7e39a65c/attachment.htm>

More information about the Web-SIG mailing list