|
@@ -36,13 +36,13 @@ class Handler(BaseHTTPRequestHandler):
|
|
global temp_has_delete
|
|
global temp_has_delete
|
|
|
|
|
|
def do_GET(self):
|
|
def do_GET(self):
|
|
- if self.path == '/status':
|
|
|
|
- self.send_response(200)
|
|
|
|
- self.send_header('Content-Type', 'text/plain; charset=utf-8')
|
|
|
|
- self.end_headers()
|
|
|
|
- self.wfile.write('edit-server is running.\n')
|
|
|
|
- return
|
|
|
|
- self.send_error(404, "GET Not Found: %s" % self.path)
|
|
|
|
|
|
+ if self.path == '/status':
|
|
|
|
+ self.send_response(200)
|
|
|
|
+ self.send_header('Content-Type', 'text/plain; charset=utf-8')
|
|
|
|
+ self.end_headers()
|
|
|
|
+ self.wfile.write('edit-server is running.\n')
|
|
|
|
+ return
|
|
|
|
+ self.send_error(404, "GET Not Found: %s" % self.path)
|
|
|
|
|
|
def do_POST(self):
|
|
def do_POST(self):
|
|
global processes
|
|
global processes
|