Skip to content

Commit

Permalink
Don't uppercase HTTP verb in parser (#3233)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Sep 2, 2018
1 parent 8aced36 commit 7b71302
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/3233.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't uppercase HTTP method in parser
1 change: 0 additions & 1 deletion aiohttp/http_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7b71302

Please sign in to comment.