Re: Support POST of application/json content type

2013-09-04 Thread Stefan Berder
From my point of view this is already a solved problem, and I'd really > like to see a generic approach to handling request data, and a > corresponding approach to rendering responses into an appropriate media > type. > > All the best, > > Tom > > On Tuesday,

Support POST of application/json content type

2013-09-03 Thread Stefan Berder
Hi, I looked around the list and couldn't find any mention of this subject. In `django.http.request.HttpRequest._load_post_and_files()` there is explicit mention of two content type ('multipart/form-data' and 'application/x-www-form-urlencoded'), any other content type will get empty values