fixed urllib3 https warning
This commit is contained in:
parent
f30c051272
commit
6fdf010211
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class PyiCloudService(object):
|
||||||
self._base_webauth_url = '%s/refreshWebAuth' % self._push_endpoint
|
self._base_webauth_url = '%s/refreshWebAuth' % self._push_endpoint
|
||||||
|
|
||||||
self.session = requests.Session()
|
self.session = requests.Session()
|
||||||
self.session.verify = False
|
self.session.verify = True
|
||||||
self.session.headers.update({
|
self.session.headers.update({
|
||||||
'host': 'setup.icloud.com',
|
'host': 'setup.icloud.com',
|
||||||
'origin': self._home_endpoint,
|
'origin': self._home_endpoint,
|
||||||
|
|
Loading…
Reference in a new issue