We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a7aeac + 3924eec commit b5c56aaCopy full SHA for b5c56aa
xbox/webapi/common/signed_session.py
@@ -5,12 +5,14 @@
5
6
import httpx
7
8
+from ssl import SSLContext
9
from xbox.webapi.common.request_signer import RequestSigner
10
11
12
class SignedSession(httpx.AsyncClient):
- def __init__(self, request_signer=None):
13
- super().__init__()
+ def __init__(self, request_signer=None, ssl_context: SSLContext=None):
14
+ super().__init__(verify=ssl_context if ssl_context is not None else True)
15
+
16
self.request_signer = request_signer or RequestSigner()
17
18
@classmethod
0 commit comments