Skip to content

Commit 95b370f

Browse files
mvandenburghintgr
andauthored
Add 'HEAD' to accepted HTTP verbs list (#249)
* Add 'HEAD' to accepted HTTP verbs list * Fixes after rebase (ec5ecd4) HEAD was already added to _MIXED_CASE_HTTP_VERBS in #273, but _LOWER_CASE_HTTP_VERBS was missed. Co-authored-by: Marti Raudsepp <marti@juffo.org>
1 parent 76b55da commit 95b370f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest_framework-stubs/decorators.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ _LOWER_CASE_HTTP_VERBS: TypeAlias = list[
3737
"put",
3838
"patch",
3939
"trace",
40+
"head",
4041
"options",
4142
]
4243
]

0 commit comments

Comments
 (0)