Merge remote-tracking branch 'walchko/master' into 30_fixes_urllib3_warning

This commit is contained in:
Adam Coddington 2015-12-13 20:20:07 -08:00
commit 530b94f6ea

View file

@ -57,7 +57,7 @@ class PyiCloudService(object):
) )
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,