commit 9d7a40fb787507cb98b996a494cc6cdc6829d6d7
parent ec38b5de4c0ecd087bda3a6297bd9c3fdf7431ba
Author: Solderpunk <solderpunk@sdf.org>
Date: Mon, 12 Aug 2019 21:48:33 +0300
Permit non-tab whitespace in response header.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/av98.py b/av98.py
@@ -269,7 +269,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
return
# Look at what we got
- status, mime = header.split("\t")
+ status, mime = header.split(maxsplit=1)
# Handle different statuses.
# Everything other than success
if status.startswith("2"):