From 93a2d9cd79b271ae991d2631afa2097b19d96f04 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Mon, 31 Dec 2012 15:11:13 +0000 Subject: [PATCH] We don't need to update the 'host' header again in play_sound. --- services/findmyiphone.py | 1 - 1 file changed, 1 deletion(-) diff --git a/services/findmyiphone.py b/services/findmyiphone.py index 717740f..759f771 100644 --- a/services/findmyiphone.py +++ b/services/findmyiphone.py @@ -56,5 +56,4 @@ class FindMyiPhoneService(object): """ self.refresh_client() 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)