-w
--write-out
#
# Server-side
HTTP/1.1 301 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 0
Connection: close
Content-Type: text/html
Location: https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 0
Connection: close
#
# Client-side
http
https
-w urle.scheme after HTTP to HTTPS redirect
-k -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_redirects} %{url_effective} %{urle.scheme}\n"
#
# Verify data after the test has been "shot"
1 https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002 https