def next(self):
        """Return next portion of bytes from the iterated file."""
        data = self.rfile.next()
        self.bytes_read += len(data)
        return data
Return next portion of bytes from the iterated file.
cherrypy/lib/cpstats.py