diff options
| author | 2011-04-07 15:16:39 +0200 | |
|---|---|---|
| committer | 2011-04-07 15:16:39 +0200 | |
| commit | a348356b9d7bc856465431965509cae99231809b (patch) | |
| tree | 33e9b9500ea9a44b5636c4b5bf6437191514bd75 /AirPlayService.py | |
| parent | 000c99126db23bbe5467c2f5f7fcfaf05b343d82 (diff) | |
| download | totem-plugin-airplay-a348356b9d7bc856465431965509cae99231809b.tar.gz totem-plugin-airplay-a348356b9d7bc856465431965509cae99231809b.tar.bz2 | |
Return 404 for new slideshow-features request of iOS 4.3
Diffstat (limited to 'AirPlayService.py')
| -rw-r--r-- | AirPlayService.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/AirPlayService.py b/AirPlayService.py index be3eeb0..394c434 100644 --- a/AirPlayService.py +++ b/AirPlayService.py | |||
| @@ -119,6 +119,8 @@ class AirPlayProtocolHandler(asyncore.dispatcher_with_send): | |||
| 119 | elif (request.type == 'PUT' and request.uri.find('/photo')>-1): | 119 | elif (request.type == 'PUT' and request.uri.find('/photo')>-1): |
| 120 | self.photo(request.body, request.headers['X-Apple-Transition']) | 120 | self.photo(request.body, request.headers['X-Apple-Transition']) |
| 121 | answer = self.create_request() | 121 | answer = self.create_request() |
| 122 | elif (request.uri.find('/slideshow-features')>-1): | ||
| 123 | answer = self.create_request(404) | ||
| 122 | elif (request.type == 'GET' and request.uri.find('/server-info')>-1): | 124 | elif (request.type == 'GET' and request.uri.find('/server-info')>-1): |
| 123 | self.server_info() | 125 | self.server_info() |
| 124 | content = '<?xml version="1.0" encoding="UTF-8"?>\ | 126 | content = '<?xml version="1.0" encoding="UTF-8"?>\ |
