Revert "Validate SSL certs by default (#2094)" (#2114)

This reverts commit 93d8ecb4bb.
This commit is contained in:
Tomer Nosrati 2024-09-16 20:14:53 +03:00 committed by GitHub
parent 4d7946e489
commit a626f1f83a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class AsyncHTTPSConnection:
headers = Headers(self.headers)
return self.Request(self.path, method=self.method, headers=headers,
body=self.body, connect_timeout=self.timeout,
request_timeout=self.timeout, validate_cert=True)
request_timeout=self.timeout, validate_cert=False)
def getresponse(self, callback=None):
request = self.getrequest()