Skip to content

Instantly share code, notes, and snippets.

@drewkerrigan
Created May 24, 2012 22:25
Show Gist options
  • Save drewkerrigan/2784553 to your computer and use it in GitHub Desktop.
Save drewkerrigan/2784553 to your computer and use it in GitHub Desktop.
Curl change
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