aparo/pyes — pull request #133 by markbirbeck (2011-12-06 14:24:10+00:00)
Title: Add params to dump_curl() and also make more shell-script friendly.

Small patch with minor changes to dump_curl():

* request parameters are output as a query string;

* make the output slightly more shell-script friendly.

These changes were made whilst preparing an issue to report to the ES mailing-list, since the developers there like issues to be accompanied by a set of cURL commands that will reproduce the problem.