Make raw post (e.g. XML) with django.test.client.Client more convinient
|Reported by:||Owned by:||Russell Keith-Magee|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||no|
As described in this mailing list thread adding a
raw_post method to the test Client class would allow simple posting of raw data, such as XML or JSON, to views. This would make testing AJAX views and views that communicate with other agents than browsers easier.