From e8ec579b9ffe2bbba44183d1aa4e4c66375882e7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Sep 2019 21:33:59 +0100 Subject: [PATCH] Plain text --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index bf508173..b31aeabf 100644 --- a/daemon.py +++ b/daemon.py @@ -214,7 +214,7 @@ class PubServer(BaseHTTPRequestHandler): return False msg='User-agent: *\nDisallow: /' msg=msg.encode('utf-8') - self._set_headers('text/html; charset=utf-8',len(msg),None) + self._set_headers('text/plain; charset=utf-8',len(msg),None) self.wfile.write(msg) return True