From 958ea0d88778be9fa50b98fe6c182fd16ff55b45 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 15:47:39 -0800 Subject: [PATCH] Update server.py --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index cac601e..6e9d7e1 100644 --- a/server.py +++ b/server.py @@ -65,10 +65,11 @@ def relay(): except: binary = True print(traceback.format_exc()) - print(mimetype) if binary: return Response(bytes(gemcontent_binary), mimetype="text/gemini" if mimetype=="" else mimetype) + print(recived) received = received.replace("\r", "") + print(recived) firstline = True redirected = False gemtext = True