Changeset 1522
- Timestamp:
- 12/11/06 15:30:41
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/test/test_wsgiapp_filter.py
r1017 r1522 15 15 response_headers = [('Content-type', 'text/plain')] 16 16 start_response(status, response_headers) 17 yield 'Hello, world!\n'18 yield 'This is a wsgi app running within CherryPy!\n\n'17 output = ['Hello, world!\n', 18 'This is a wsgi app running within CherryPy!\n\n'] 19 19 keys = environ.keys() 20 20 keys.sort() 21 21 for k in keys: 22 yield '%s: %s\n' % (k,environ[k]) 22 output.append('%s: %s\n' % (k,environ[k])) 23 return output 23 24 24 25 class Root:

