Changeset 1411
- Timestamp:
- 10/25/06 23:24:15
- Files:
-
- trunk/cherrypy/test/test_wsgiapps.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test_wsgiapps.py
r1340 r1411 13 13 response_headers = [('Content-type', 'text/plain')] 14 14 start_response(status, response_headers) 15 yield 'Hello, world!\n'16 yield 'This is a wsgi app running within CherryPy!\n\n'15 output = ['Hello, world!\n', 16 'This is a wsgi app running within CherryPy!\n\n'] 17 17 keys = environ.keys() 18 18 keys.sort() 19 19 for k in keys: 20 yield '%s: %s\n' % (k,environ[k]) 20 output.append('%s: %s\n' % (k,environ[k])) 21 return output 21 22 22 23 def reversing_middleware(app):

