Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't uppercase HTTP verb in parser #3233

Merged
merged 2 commits into from
Sep 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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