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
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
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