Skip to content

Commit 4b39fe0

Browse files
Put proper return type for HttpRequestParser.get_method()
1 parent 2cdb64e commit 4b39fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class HttpRequestParser:
4949
set to the offset of the non-HTTP data in ``data``.
5050
"""
5151

52-
def get_method(self) -> str:
52+
def get_method(self) -> bytes:
5353
"""Return HTTP request method (GET, HEAD, etc)"""
5454

5555

0 commit comments

Comments
 (0)