Changeset 1593
- Timestamp:
- 01/11/07 10:44:55
- Files:
-
- trunk/cherrypy/wsgiserver/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/wsgiserver/__init__.py
r1589 r1593 402 402 if self.started_response: 403 403 if not exc_info: 404 assert False, "Already started response" 404 raise AssertionError("WSGI start_response called a second " 405 "time with no exc_info.") 405 406 else: 406 407 try: … … 419 420 data from the iterable returned by the WSGI application). 420 421 """ 422 if not self.started_response: 423 raise AssertionError("WSGI write called before start_response.") 424 421 425 if not self.sent_headers: 422 426 self.sent_headers = True

