[Web-SIG] WSGI async API

James Y Knight foom at fuhm.net
Fri Oct 15 20:19:51 CEST 2004


On Oct 15, 2004, at 6:57 AM, Peter Hunt wrote:
> So if I'm implementing a Twisted gateway, where should
> request.finish() go? This has been puzzling me for some time...

You'd call finish when the iterator from the iterable returned by the 
WSGI app is exhausted and raises StopIteration, I think?

James



More information about the Web-SIG mailing list