From: Jakob Cornell Date: Sun, 5 Jan 2020 07:16:17 +0000 (-0600) Subject: Bug fix? X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=848b50fb973d16480618308c943afd1e72ef9d44;p=tutoring-tool.git Bug fix? --- diff --git a/main.py b/main.py index 8c2c7d7..75a103a 100644 --- a/main.py +++ b/main.py @@ -151,6 +151,7 @@ class AsyncHttpServer: def do_GET(self): self.send_response(200) + self.send_header('Content-Type', 'application/json; charset=UTF-8') self.send_header('Access-Control-Allow-Origin', '*') self.end_headers() self.wfile.write(data)