xref: /unit/test/python/not_iterable/wsgi.py (revision 617:904fe1192472)
1*617Szelenkov@nginx.comclass application:
2*617Szelenkov@nginx.com    def __init__(self, environ, start_response):
3*617Szelenkov@nginx.com        self.environ = environ
4*617Szelenkov@nginx.com        self.start = start_response
5*617Szelenkov@nginx.com
6*617Szelenkov@nginx.com    def __iter__(self):
7*617Szelenkov@nginx.com        self.start('200', [(('Content-Length', '0'))])
8