#22797: Base Generic View `_allowed_methods` could accept request args.
-------------------------------------+-------------------------------------
Reporter: Keryn Knight | Owner: nobody
<django@…> | Status: closed
Type: New feature | Version: master
Component: Generic views | Resolution: wontfix
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by tomchristie):
* status: new => closed
* resolution: => wontfix
Comment:
I'm going to recommend that we don't treat `_allowed_methods` as an
overridable bit of public API, or allow for the use case of dynamically
altering the results for the `Allow` header.
The `Allow` header doesn't necessarily need to reflect which methods are
actually permitted, just which are valid.
In REST framework the only thing we do with `_allowed_methods` is promote
it to public, read-only API.
--
Ticket URL: <https://code.djangoproject.com/ticket/22797#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/095.a20b6faaa72ab40a222ae5a869381185%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.