From 720f69e88885683223ac0eb8159026a806e3ff75 Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Tue, 12 Jul 2016 17:14:01 +0300 Subject: [PATCH] Add newline to the debug response --- neomi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neomi.py b/neomi.py index 2c261c0..90c05b2 100644 --- a/neomi.py +++ b/neomi.py @@ -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