﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17371	For DELETE requests TestClient encodes data as QUERY_STRING and forces an empty payload	grzesiof@…	Aymeric Augustin	"The Test Client's delete method is too limited.

The http 1.1 rfc (http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html) doesn't specify that a request body is not allowed for DELETE requests. In fact the method is more similar to POST's and PUT's then it is to GET's. However when making a DELETE request with the test client the data is encoded as the query_string and no request-body-payload is provided
(https://code.djangoproject.com/browser/django/trunk/django/test/client.py#L313).

I would personally make it behave the same way as POST's do, but I can imagine a lot of code may depend on the existing implementation."	Cleanup/optimization	closed	Testing framework	1.3	Normal	fixed			Ready for checkin	1	0	0	0	0	0
