#9950: PUT requests do not have request body handled
-------------------------------+--------------------------------------
     Reporter:  ssolon         |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  HTTP handling  |                  Version:  1.0
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by slacy):

 As RESTful APIs become more and more important (alongside the rise of
 client-side framewarks like Backbone.js, knockout.js, Ember.js, etc.) this
 issue is quite a hinderance to the adoption of Django.

 I think the right solution here is to have some kind of pluggable system
 (akin to a Middleware, in fact, it even may be one) that detects content
 types and parses and stuffs the WSGIRequest with the relevant info.
 Telling clients to parse it themselves is a copout.  The input side of
 HTTP is just as well defined as the output, and the logic can be as simple
 as "check the input content type and call the right parser".

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9950#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to