Add newline to the debug response
This commit is contained in:
parent
dbc7f824ed
commit
720f69e888
3
neomi.py
3
neomi.py
|
@ -136,7 +136,8 @@ class Serve(threading.Thread):
|
||||||
|
|
||||||
def handle_request(self):
|
def handle_request(self):
|
||||||
path, protocol, rest = get_request(self.sock)
|
path, protocol, rest = get_request(self.sock)
|
||||||
self.sock.sendall(str((path, protocol, rest)).encode('utf-8'))
|
answer = str((path, protocol, rest))+'\n'
|
||||||
|
self.sock.sendall(answer.encode('utf-8'))
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
global threads_amount, threads_lock
|
global threads_amount, threads_lock
|
||||||
|
|
Loading…
Reference in New Issue