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 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)