Skip to content

Set action for HEAD requests - #7223

Merged
lovelydinosaur merged 2 commits into
encode:masterfrom
rpkilby:set-head-action
Mar 9, 2020
Merged

lovelydinosaur merged 2 commits into
encode:masterfrom
rpkilby:set-head-action

Conversation

@rpkilby

@rpkilby rpkilby commented Mar 8, 2020

Copy link
Copy Markdown
Contributor

Fixes #6196 by setting the head handler in the actions map instead of on the view instance.

@rpkilby rpkilby added this to the 3.12 Release milestone Mar 8, 2020
@lovelydinosaur

Copy link
Copy Markdown
Member

😀👍

@lovelydinosaur
lovelydinosaur merged commit 908f91d into encode:master Mar 9, 2020
@rpkilby
rpkilby deleted the set-head-action branch March 9, 2020 16:34
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
* Test viewset action attr

* Add 'head' to viewset actions map
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
* Test viewset action attr

* Add 'head' to viewset actions map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

self.action is set to None during HEAD request

2 participants