Allow for blanks in <META> portion of response.

This commit is contained in:
Simon Forman 2020-05-14 15:56:43 -07:00
parent eca985da3e
commit d610a304e0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ while True:
fp = s.makefile("rb")
header = fp.readline()
header = header.decode("UTF-8").strip()
status, mime = header.split()
status, mime = header.split(maxsplit=1)
# Handle input requests
if status.startswith("1"):
# Prompt