binary files in gopher

This commit is contained in:
Lionel Dricot 2022-02-24 10:29:14 +01:00
parent ff12498b49
commit 3231f425a9
1 changed files with 1 additions and 1 deletions

View File

@ -961,7 +961,7 @@ class GeminiItem():
elif itemtype == "h":
self.mime = "text/html"
elif itemtype in ("9","g","I","s"):
self.mime = None
self.mime = "binary"
else:
self.mime = "text/gopher"
else: