def dataReceived(self, data):
        """
        Decompress C{data} with the zlib decompressor, forwarding the raw data
        to the original protocol.
        """
        try:
            rawData = self._zlibDecompress.decompress(data)
        except zlib.error:
            raise ResponseFailed([Failure()], self._response)
        if rawData:
            self.original.dataReceived(rawData)

        Decompress C{data} with the zlib decompressor, forwarding the raw data
        to the original protocol.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/client.py