On Thu, 8 Dec 2005, Gregory (Grisha) Trubetskoy wrote:
def index(req) req.content_type = 'text/plain' yield '1\n' yield '2\n' yield '3\n' yield '4\n' When published, this module should return a text content with '1\n2\n3\n4\n'. ---I'd expect this to return '1\n'. Because in my mind one HTTP request corresponds to one call to the published function?
Actually, I take that back. It should return something more along the lines of '<generator object at 0x81ba5ec>'.
Does this make sense? Grisha