From 4be0d2a3b76d90b5bd205db920f0cf998f6e20b9 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 2 Sep 2018 00:13:18 +0300 Subject: [PATCH 1/2] Don't uppercase HTTP verb in parser --- aiohttp/http_parser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index ab6d5c4f544..8b4fefcf12d 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -371,7 +371,6 @@ def parse_message(self, lines): 'Status line is too long', self.max_line_size, len(path)) # method - method = method.upper() if not METHRE.match(method): raise BadStatusLine(method) From 73d65309d381eec609f997aff6c1ef82d0133001 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 2 Sep 2018 00:15:52 +0300 Subject: [PATCH 2/2] Add change log --- CHANGES/3233.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 CHANGES/3233.bugfix diff --git a/CHANGES/3233.bugfix b/CHANGES/3233.bugfix new file mode 100644 index 00000000000..09ed35c4bb0 --- /dev/null +++ b/CHANGES/3233.bugfix @@ -0,0 +1 @@ +Don't uppercase HTTP method in parser \ No newline at end of file