We don't need to update the 'host' header again in play_sound.

This commit is contained in:
Peter Evans 2012-12-31 15:11:13 +00:00
parent 4adff6a5ff
commit 93a2d9cd79

View file

@ -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)