Created
May 24, 2012 22:25
-
-
Save drewkerrigan/2784553 to your computer and use it in GitHub Desktop.
Curl change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
result=`curl -o /dev/null -w "time: "%{time_total}" status:"%{http_code} -k -s -H "Authorization: $auth_header" -H "Content-Type: application/octet-stream" -H "Date: $header_date" -XPUT --proxy1.0 http://10.80.83.68:8077 http://sl.basho.com:80$path -T ./files/$filenumber` | |
echo $result >> stats.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment