Skip to content

Commit

Permalink
Merge pull request #1218 from hassan11196/python3-migration-1
Browse files Browse the repository at this point in the history
Update McMClient to support 301 redirects.
  • Loading branch information
haozturk committed Aug 11, 2023
2 parents 414c19e + bc733d3 commit 8784dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/Services/McM/McMClient.py
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 8784dbb

Please sign in to comment.