fixed urllib3 https warning

This commit is contained in:
kevin walchko 2015-02-15 23:13:27 -07:00
parent f30c051272
commit 6fdf010211

View file

@ -38,7 +38,7 @@ class PyiCloudService(object):
self._base_webauth_url = '%s/refreshWebAuth' % self._push_endpoint
self.session = requests.Session()
self.session.verify = False
self.session.verify = True
self.session.headers.update({
'host': 'setup.icloud.com',
'origin': self._home_endpoint,