Constructor

Methods

Class: cogen.web.async.LazyStartResponseMiddleware

This is a evil piece of middleware that proxyes the start_response call and delays it till the appiter yields a non-empty string. Also, this returns a fake write callable that buffers the strings passed though it.

Constructor

__init__ (self, app, global_conf={})

Methods

start_response (self, status, headers, exc=None)