Changeset 1533
- Timestamp:
- 12/16/06 14:20:07
- Files:
-
- trunk/cherrypy/lib/http.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/http.py
r1442 r1533 423 423 424 424 def __iter__(self): 425 return self .rfile425 return self 426 426 427 427 def next(self): … … 429 429 self.bytes_read += len(data) 430 430 self._check_length() 431 ## Normally the next method must raise StopIteration when it432 ## fails but CP expects MaxSizeExceeded433 ## try:434 ## self._check_length()435 ## except:436 ## raise StopIteration()437 431 return data 438 432

