Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add 'HEAD' to accepted HTTP verbs list#249

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
intgr merged 2 commits intotypeddjango:masterfrommvandenburgh:patch-1
Nov 16, 2022

Conversation

@mvandenburgh
Copy link
Contributor

Theactions decorator for defining endpoints in DRF seems to support HEAD requests, but the type stubs don't include it as an option.

brianhelba and intgr reacted with thumbs up emoji
@mvandenburgh
Copy link
ContributorAuthor

DRF PR adding support for HEAD requests:encode/django-rest-framework#4973

@intgr
Copy link
Contributor

Thanks for this PR and sorry this has waited so long.

HEAD was already added to_MIXED_CASE_HTTP_VERBS in#273, but I missed_LOWER_CASE_HTTP_VERBS there.

I'll update this myself.

mvandenburghand others added2 commitsNovember 16, 2022 16:21
HEAD was already added to _MIXED_CASE_HTTP_VERBS intypeddjango#273, but I missed _LOWER_CASE_HTTP_VERBS there.
@intgrintgr merged commit95b370f intotypeddjango:masterNov 16, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@intgrintgrintgr approved these changes

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mvandenburgh@intgr

[8]ページ先頭

©2009-2025 Movatter.jp