Re: Feature request - add raw_post to test client

2011-01-24 Thread Vincent
On second glance, ``Client.post`` does support raw posting ``data`` as a ``str``, as long as you pass your own ``content_type`` with it. It's not in the docs, or the method's docstring, but it's easy to do. On Jan 23, 4:46 am, Russell Keith-Magee wrote: > On Mon, Jan 17, 2011 at 1:16 AM, Vincent

Re: Feature request - add raw_post to test client

2011-01-23 Thread Russell Keith-Magee
On Mon, Jan 17, 2011 at 1:16 AM, Vincent wrote: > When looking through the test client I noticed that it requires a > dictionary and always uses multipart/form-data posts. Sometimes it's > helpful to use a raw post, instead. The flexibility allows you to just > post a string, use key-value pair fo

Feature request - add raw_post to test client

2011-01-16 Thread Vincent
When looking through the test client I noticed that it requires a dictionary and always uses multipart/form-data posts. Sometimes it's helpful to use a raw post, instead. The flexibility allows you to just post a string, use key-value pair format, or anything you want, really. Using raw posts would