[Libguestfs] [PATCH 3/3] builder: Use the new Curl module for passing parameters to curl.
Richard W.M. Jones
rjones at redhat.com
Thu Jul 7 13:28:08 UTC 2016
On Thu, Jul 07, 2016 at 02:18:33PM +0100, Richard W.M. Jones wrote:
> + let curl_h =
> + let curl_args =
> + common_args @
> + if verbose () then [] else quiet_args @ [
^^ Needs parens around the (if ...) statement ...
> + "output", Some "/dev/null"; (* Write output to /dev/null. *)
> + "head", None; (* Request only HEAD. *)
> + (* Write HTTP status code to stdout. *)
> + "write-out", Some "%{http_code}";
> + "url", Some uri
> + ] in
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list