From bc733d37e0221b54caed7df927ff6ec0ccf4475f Mon Sep 17 00:00:00 2001 From: Muhammad Hassan Ahmed <33365802+hassan11196@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:46:51 +0200 Subject: [PATCH] Update McMClient.py --- src/python/Services/McM/McMClient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/Services/McM/McMClient.py b/src/python/Services/McM/McMClient.py index 762ea80ff..913466160 100644 --- a/src/python/Services/McM/McMClient.py +++ b/src/python/Services/McM/McMClient.py @@ -51,6 +51,7 @@ def _setConnection(self) -> None: self.connection.setopt(pycurl.SSL_VERIFYHOST, 2) self.connection.setopt(pycurl.CAPATH, "/etc/pki/tls/certs") self.connection.setopt(pycurl.WRITEFUNCTION, self.response.write) + self.connection.setopt(pycurl.FOLLOWLOCATION, 1) def _getResponse(self) -> dict: """