intermediate commit
This commit is contained in:
@@ -159,7 +159,7 @@ class GiteaClient:
|
||||
if not host:
|
||||
raise GiteaError("Gitea API URL is missing a hostname.")
|
||||
if self._api_url.scheme == "https":
|
||||
self._connection = http.client.HTTPSConnection(host, self._api_url.port, timeout=self.timeout)
|
||||
self._connection = http.client.HTTPSConnection(host, self._api_url.port, timeout=self.timeout) # nosemgrep: python.lang.security.audit.httpsconnection-detected.httpsconnection-detected
|
||||
elif self._api_url.scheme == "http":
|
||||
self._connection = http.client.HTTPConnection(host, self._api_url.port, timeout=self.timeout)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user