openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12063
Re: Swift3 Github pages
On Mon, 21 May 2012 16:06:42 -0500
Gregory Holt <gholt@xxxxxxxxxxxxx> 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
Follow ups
References