Update server.py

This commit is contained in:
Nova Cat 2025-01-14 15:27:06 -08:00
parent fe4af6b34b
commit daab0735e4

View file

@ -51,7 +51,7 @@ def relay():
try:
if "\r" in bytes(gemraw).decode() and not found:
found = True
mimetype = bytes(gemraw).decode()[:-1].split(" ")[1]
mimetype = bytes(gemraw).decode()[:-1].split(" ")[1].split(";")[0]
ok = bytes(gemraw).decode()[:-1].split(" ")[0][0] == 2
except:
pass