TestApp.post(params=dict(...)) does not handle lists/arrays properly

Create issue
Issue #12 resolved
Joseph S. Tate created an issue

TestApp.get() passes doseq=True to urllib.urlencode for its params, so it behaves properly for lists/arrays but .post(), or rather ._gen_request() does not set doseq on the urlencode call. Both calls to urlencode() should set doseq().

A workaround exists; in your own code, pre-encode the params using doseq=True. Then .post() uses the string params path.