From f1c85eb1f819dec2ac7fdbe0db4d5761ce0f1574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=2E=20K=C3=A4rkk=C3=A4inen?= Date: Sun, 22 Mar 2020 18:07:35 +0200 Subject: [PATCH] Add clarifying comment --- sanic/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/http.py b/sanic/http.py index 20c86bfd..6049d3b8 100644 --- a/sanic/http.py +++ b/sanic/http.py @@ -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 = []