pumazi/wsgi_intercept2 — Issue #18: 18 - output failure if first item in iterable is empty string 
Author: pumazi
Created: 2011-12-22 19:44:25+00:00
State: open

Have the application return an iterable where the first item is an empty
string. wsgi_intercept will fail to process the remaining items in the
iterable. The solution is to dedent by 1 level the following lines in the
"makefile function", so that the loop runs regardless of whether the first
element was an emptyt string:

while 1:
data = self.result.next()
self.output.write(data)

Original link: http://code.google.com/p/wsgi-intercept/issues/detail?id=18