Permit non-tab whitespace in response header.

This commit is contained in:
Solderpunk 2019-08-12 21:48:33 +03:00
parent ec38b5de4c
commit 9d7a40fb78
1 changed files with 1 additions and 1 deletions

View File

@ -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"):