Add clarifying comment

This commit is contained in:
L. Kärkkäinen 2020-03-22 18:07:35 +02:00
parent 23e54fc546
commit f1c85eb1f8

View File

@ -132,7 +132,7 @@ class Http:
elif protocol == "HTTP/1.0":
self.keep_alive = False
else:
raise Exception
raise Exception # Raise a Bad Request on try-except
self.head_only = method.upper() == "HEAD"
self.request_body = False
headers = []