Skip to content

Commit 323320f

Browse files
Update stubs/httpretty/httpretty/http.pyi
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
1 parent 4a6c7fe commit 323320f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

stubs/httpretty/httpretty/http.pyi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ _T = TypeVar("_T", str, bytes)
77
STATUSES: dict[int, str]
88

99
class HttpBaseClass:
10-
GET: Literal["GET"]
11-
PUT: Literal["PUT"]
12-
POST: Literal["POST"]
13-
DELETE: Literal["DELETE"]
14-
HEAD: Literal["HEAD"]
15-
PATCH: Literal["PATCH"]
16-
OPTIONS: Literal["OPTIONS"]
17-
CONNECT: Literal["CONNECT"]
10+
GET: Final = "GET"
11+
PUT: Final = "PUT"
12+
POST: Final = "POST"
13+
DELETE: Final = "DELETE"
14+
HEAD: Final = "HEAD"
15+
PATCH: Final = "PATCH"
16+
OPTIONS: Final = "OPTIONS"
17+
CONNECT: Final = "CONNECT"
1818
METHODS: tuple[_HTTPMethod, ...]
1919

2020
def parse_requestline(s: str) -> tuple[str, str, str]: ...

0 commit comments

Comments
 (0)