Update server.py
This commit is contained in:
parent
ec547d1c59
commit
43804248bd
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ def relay():
|
||||||
binary = True
|
binary = True
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
if binary:
|
if binary:
|
||||||
|
print(gemcontent_binary)
|
||||||
return Response(bytes(gemcontent_binary), mimetype="text/gemini" if mimetype=="" else mimetype)
|
return Response(bytes(gemcontent_binary), mimetype="text/gemini" if mimetype=="" else mimetype)
|
||||||
received = received.replace("\r", "")
|
received = received.replace("\r", "")
|
||||||
firstline = True
|
firstline = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue