#32646: add request.json() shortcut
---------------------------------+--------------------------------------
     Reporter:  Collin Anderson  |                    Owner:  nobody
         Type:  New feature      |                   Status:  closed
    Component:  HTTP handling    |                  Version:  4.0
     Severity:  Normal           |               Resolution:  duplicate
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Adam Johnson):

 There's also #21442 for Tom Christie's work.

 I think adding `request.json()` would be a bit of a mis-feature, when we
 could instead add `request.data` with a parsing framework that's more
 "future-proof". It would be based on DRF's behaviour, so would be familiar
 to most Django devs already.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32646#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.9b4aeb5aff63b16589f2362986b35c84%40djangoproject.com.

Reply via email to