def collapse_body(self):
        """Collapse self.body to a single string; replace it and return it."""
        new_body = b''.join(self.body)
        self.body = new_body
        return new_body
Collapse self.body to a single string; replace it and return it.
cherrypy/_cprequest.py