Update server.py
This commit is contained in:
parent
8dc5d8398c
commit
9a07365df8
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ def relay():
|
||||||
else:
|
else:
|
||||||
firstline = False
|
firstline = False
|
||||||
if i.split(" ")[1] != "text/gemini":
|
if i.split(" ")[1] != "text/gemini":
|
||||||
|
print("Unrecognised type: " i.split(" ")[1])
|
||||||
return Response(" ".join(received.split("\n")[1:]), mimetype=i.split(" ")[1])
|
return Response(" ".join(received.split("\n")[1:]), mimetype=i.split(" ")[1])
|
||||||
else:
|
else:
|
||||||
if i[0:2] == "# ":
|
if i[0:2] == "# ":
|
||||||
|
|
Loading…
Add table
Reference in a new issue