We don't need to update the 'host' header again in play_sound.
This commit is contained in:
parent
4adff6a5ff
commit
93a2d9cd79
1 changed files with 0 additions and 1 deletions
|
@ -56,5 +56,4 @@ class FindMyiPhoneService(object):
|
||||||
"""
|
"""
|
||||||
self.refresh_client()
|
self.refresh_client()
|
||||||
data = json.dumps({'device': self.content['id'], 'subject': subject})
|
data = json.dumps({'device': self.content['id'], 'subject': subject})
|
||||||
self.session.headers.update({'host': 'p12-fmipweb.icloud.com'})
|
|
||||||
self.session.post(self._fmip_sound_url, params=self.params, data=data)
|
self.session.post(self._fmip_sound_url, params=self.params, data=data)
|
||||||
|
|
Loading…
Reference in a new issue