def finish(self):
        """
        Finish handling the request request, flushing any data from the zlib
        buffer.
        """
        remain = self._zlibCompressor.flush()
        self._zlibCompressor = None
        return remain

        Finish handling the request request, flushing any data from the zlib
        buffer.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/server.py