@@ -158,7 +158,7 @@ that is configured with the desired TLS/SSL options.
158158The following example disables server certificate verification, which can be
159159useful when connecting to a server that uses a self-signed certificate::
160160
161- http_session = request .Session()
161+ http_session = requests .Session()
162162 http_session.verify = False
163163 sio = socketio.Client(http_session=http_session)
164164 sio.connect('https://example.com')
@@ -173,7 +173,7 @@ And when using ``asyncio``::
173173Instead of disabling certificate verification, you can provide a custom
174174certificate authority bundle to verify the certificate against::
175175
176- http_session = request .Session()
176+ http_session = requests .Session()
177177 http_session.verify = '/path/to/ca.pem'
178178 sio = socketio.Client(http_session=http_session)
179179 sio.connect('https://example.com')
@@ -190,7 +190,7 @@ And for ``asyncio``::
190190Below you can see how to use a client certificate to authenticate against the
191191server::
192192
193- http_session = request .Session()
193+ http_session = requests .Session()
194194 http_session.cert = ('/path/to/client/cert.pem', '/path/to/client/key.pem')
195195 sio = socketio.Client(http_session=http_session)
196196 sio.connect('https://example.com')
0 commit comments