wp-cli/wp-cli.github.com — pull request #37 by santagada (2014-06-01 12:24:54+00:00)
Title: check certs and save with same name

curl should check for certs (hence no -k) and not follow redirects (no -L) to improve security a bit, and with -O it saves the a file with the remote name on the current directory, no redirect needed