On Mon, 21 May 2012 16:06:42 -0500
Gregory Holt <gh...@rackspace.com> wrote:

> There are examples of middleware returning generators out there, such as
> in PEP 333 WSGI, specifically the class example at
> http://www.python.org/dev/peps/pep-0333/#the-application-framework-side.

Obviously I didn't read the PEP closely enough, so I assumed the opposite.
Sorry. Here's my message about it:
 https://lists.launchpad.net/openstack/msg11261.html

> That is something that swift.common.wsgi.WSGIContext's _app_call works
> around, ensuring the generator is "activated" before returning.

I see, I missed that.

Thanks,
-- Pete

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to