Add clarifying comment
This commit is contained in:
parent
23e54fc546
commit
f1c85eb1f8
|
@ -132,7 +132,7 @@ class Http:
|
||||||
elif protocol == "HTTP/1.0":
|
elif protocol == "HTTP/1.0":
|
||||||
self.keep_alive = False
|
self.keep_alive = False
|
||||||
else:
|
else:
|
||||||
raise Exception
|
raise Exception # Raise a Bad Request on try-except
|
||||||
self.head_only = method.upper() == "HEAD"
|
self.head_only = method.upper() == "HEAD"
|
||||||
self.request_body = False
|
self.request_body = False
|
||||||
headers = []
|
headers = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user