eschulte pushed a commit to branch master in repository elpa. commit ff3fbbc60dd6cc5ae893095b897d3d5f67779128 Author: Eric Schulte <schulte.e...@gmail.com> Date: Thu May 1 23:11:16 2014 -0400
pass the silent flag to curl for all request types --- web-server-test.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web-server-test.el b/web-server-test.el index a9f0f19..769d203 100644 --- a/web-server-test.el +++ b/web-server-test.el @@ -28,14 +28,14 @@ (defun ws-test-curl-to-string (url &optional get-params post-params curl-flags) "Curl URL with optional parameters." (async-shell-command - (format "curl -m 4 %s %s %s localhost:%s/%s" + (format "curl -s -m 4 %s %s %s localhost:%s/%s" (or curl-flags "") (if get-params (mapconcat (lambda (p) (format "-d '%s=%s'" (car p) (cdr p))) get-params " ") "") (if post-params - (mapconcat (lambda (p) (format "-s -F '%s=%s'" (car p) (cdr p))) + (mapconcat (lambda (p) (format "-F '%s=%s'" (car p) (cdr p))) post-params " ") "") ws-test-port url))