Re: PUT and post data

2011-12-07 Thread Thibault Jouannic
Hi again, > Please add a patch to the tracker, since it always best if people with the > problem write it as they know what's missing. Done. https://github.com/django/django/pull/87 Hope I did everything right. I've read the submitting patches doc, but is a git pull request accepted? Otherwise

Re: PUT and post data

2011-12-07 Thread Thibault Jouannic
Hi, > That would be really odd imo and confusing as hell if you find > PUT/DELETE/HEAD/OPTIONS/whatever data in request.POST If I'm not wrong, only the PUT method can specify POST like parameters. > put_data = QueryDict(self.raw_post_data, encoding=your_encoding) > not really hard if you ask me.

Re: PUT and post data

2011-12-07 Thread Thibault Jouannic
Actually, I've been thinking about this issue, read again the bug report and current thread, and I'd like to re-open the discussion, if you don't mind. > request.POST is a > special-case for a request body submitted with the > "x-www-form-urlencoded" or "multipart/form-data" content types. This is

Re: PUT and post data

2011-12-06 Thread Thibault Jouannic
Thank you for taking the time to answer. On 1 déc, 21:41, Carl Meyer wrote: > However, web browsers do not submit PUT requests from HTML forms (and > they aren't likely to ever do so, as that proposed HTML5 feature was > removed [2]). Yeah, I was aware of that decision. The reason I had the prob

PUT and post data

2011-12-01 Thread Thibault Jouannic
Hi django devs, I'm looking for some news about the ticket #12635. https://code.djangoproject.com/ticket/12635 Today, it's still impossible to easily access post data when sending a PUT request. Since I'm trying to build a restful web service using django, this is quite a problem. It's been tol