Add newline to the debug response

This commit is contained in:
Juhani Haverinen 2016-07-12 17:14:01 +03:00
parent dbc7f824ed
commit 720f69e888
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ class Serve(threading.Thread):
def handle_request(self):
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):
global threads_amount, threads_lock