diff --git a/daemon.py b/daemon.py index 1e2fb0a1..a316de70 100644 --- a/daemon.py +++ b/daemon.py @@ -145,6 +145,8 @@ class PubServer(BaseHTTPRequestHandler): def _requestHTTP(self) -> bool: """Should a http response be given? """ + if self.headers['Accept'].startswith('*'): + return True if 'json' in self.headers['Accept']: return False return True