Skip to content

Commit

Permalink
Disable verification when using HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor committed Dec 9, 2024
1 parent daf9801 commit f10d157
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Azimuth/zenith.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def open_zenith_service(self, fqdn: str, authenticate: bool = True):
response = httpx.get(
zenith_url,
follow_redirects = True,
cookies = { c["name"]: c["value"] for c in self._driver.get_cookies() }
cookies = { c["name"]: c["value"] for c in self._driver.get_cookies() },
verify = scheme == "https"
)
except httpx.TransportError:
# We want to retry these exceptions
Expand Down

0 comments on commit f10d157

Please sign in to comment.