gusmobile

python gemini client library
git clone https://git.clttr.info/gusmobile.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 2f7c902c5c9086a14e4d07b46a04f90c22520e17
parent 322a3c0fb683edc89c76e187ffb7d5380455b7ca
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Tue, 19 May 2020 10:42:29 -0400

Fix bug in handling of unknown mimetypes

Diffstat:
Mgusmobile/client.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gusmobile/client.py b/gusmobile/client.py @@ -145,7 +145,7 @@ def fetch(raw_url): codecs.lookup(mime_options["charset"]) charset = mime_options["charset"] except LookupError: - print("Header declared unknown encoding %s" % value) + print("Header declared unknown encoding %s" % mime_options["charset"]) return # Read the response body over the network try: