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