def handleResponse(self, response_body_bytes):
        try:
            json_response = json.loads(response_body_bytes)
        except __HOLE__:
            # logger.info("Invalid JSON response from %s",
            #            self.transport.getHost())
            self.transport.abortConnection()
            return

        certificate = self.transport.getPeerCertificate()
        self.callback((json_response, certificate))
        self.transport.abortConnection()
        self.timer.cancel()
dataset/ETHPy150Open matrix-org/synapse/synapse/crypto/keyclient.py/SynapseKeyClientProtocol.handleResponse