Update server.py
This commit is contained in:
parent
4d5b417b6e
commit
958ea0d887
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue