We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62485b commit 3b42503Copy full SHA for 3b42503
teach/learning.py
@@ -59,12 +59,14 @@ def check_cert():
59
class LearningHTTPRequestHandler(BaseHTTPRequestHandler):
60
61
def do_GET(self):
62
+ self.close_connection = True
63
if self.path != '/':
64
return self.send_error(404)
65
self._sendHttpHeader('text/html')
66
self._sendHttpBody(HTML_INDEX)
67
68
def do_POST(self):
69
70
if self.path != '/run':
71
return self.send_error(400)
72
print('Prepare code...')
0 commit comments