diff --git a/daemon.py b/daemon.py index 67a33d58..df18234a 100644 --- a/daemon.py +++ b/daemon.py @@ -279,6 +279,10 @@ class PubServer(BaseHTTPRequestHandler): print('ACCEPT: '+self.headers['Accept']) if 'image/' in self.headers['Accept']: return False + if 'video/' in self.headers['Accept']: + return False + if 'audio/' in self.headers['Accept']: + return False if self.headers['Accept'].startswith('*'): return False if 'json' in self.headers['Accept']: