Site
Gitweb
Static
projects
/
tutoring-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d5b89
)
Bug fix?
author
Jakob Cornell
<jakob@jcornell.net>
Sun, 5 Jan 2020 07:16:17 +0000
(
01:16
-0600)
committer
Jakob Cornell
<jakob@jcornell.net>
Sun, 5 Jan 2020 07:16:17 +0000
(
01:16
-0600)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index 8c2c7d7a718f1687fb9cbbeaee26afda6c3a878c..75a103a37939c9724e564bac22c83eb528383dec 100644
(file)
--- 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)