Skip to content

Commit

Permalink
Fixes after rebase (ec5ecd4)
Browse files Browse the repository at this point in the history
HEAD was already added to _MIXED_CASE_HTTP_VERBS in typeddjango#273, but I missed _LOWER_CASE_HTTP_VERBS there.
  • Loading branch information
intgr committed Nov 16, 2022
1 parent bfdbff2 commit 2f7d48a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rest_framework-stubs/decorators.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@ class MethodMapper(dict):

_LOWER_CASE_HTTP_VERBS: TypeAlias = list[
Literal[
"head",
"get",
"post",
"delete",
"put",
"patch",
"trace",
"head",
"options",
]
]

_MIXED_CASE_HTTP_VERBS: TypeAlias = list[
Literal[
"HEAD",
"GET",
"POST",
"DELETE",
Expand All @@ -53,7 +52,6 @@ _MIXED_CASE_HTTP_VERBS: TypeAlias = list[
"TRACE",
"HEAD",
"OPTIONS",
"head",
"get",
"post",
"delete",
Expand Down

0 comments on commit 2f7d48a

Please sign in to comment.