1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard Worker-w 5*6236dae4SAndroid Build Coastguard Worker--write-out 6*6236dae4SAndroid Build Coastguard Worker</keywords> 7*6236dae4SAndroid Build Coastguard Worker</info> 8*6236dae4SAndroid Build Coastguard Worker 9*6236dae4SAndroid Build Coastguard Worker# 10*6236dae4SAndroid Build Coastguard Worker# Server-side 11*6236dae4SAndroid Build Coastguard Worker<reply> 12*6236dae4SAndroid Build Coastguard Worker<data crlf="yes" nocheck="yes"> 13*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 301 OK 14*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 15*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 16*6236dae4SAndroid Build Coastguard WorkerConnection: close 17*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html 18*6236dae4SAndroid Build Coastguard WorkerLocation: https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002 19*6236dae4SAndroid Build Coastguard Worker 20*6236dae4SAndroid Build Coastguard Worker</data> 21*6236dae4SAndroid Build Coastguard Worker<data2 crlf="yes" nocheck="yes"> 22*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK 23*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 24*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 25*6236dae4SAndroid Build Coastguard WorkerConnection: close 26*6236dae4SAndroid Build Coastguard Worker 27*6236dae4SAndroid Build Coastguard Worker</data2> 28*6236dae4SAndroid Build Coastguard Worker</reply> 29*6236dae4SAndroid Build Coastguard Worker 30*6236dae4SAndroid Build Coastguard Worker# 31*6236dae4SAndroid Build Coastguard Worker# Client-side 32*6236dae4SAndroid Build Coastguard Worker<client> 33*6236dae4SAndroid Build Coastguard Worker<server> 34*6236dae4SAndroid Build Coastguard Workerhttp 35*6236dae4SAndroid Build Coastguard Workerhttps 36*6236dae4SAndroid Build Coastguard Worker</server> 37*6236dae4SAndroid Build Coastguard Worker<name> 38*6236dae4SAndroid Build Coastguard Worker-w urle.scheme after HTTP to HTTPS redirect 39*6236dae4SAndroid Build Coastguard Worker</name> 40*6236dae4SAndroid Build Coastguard Worker<command option="no-include"> 41*6236dae4SAndroid Build Coastguard Worker-k -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_redirects} %{url_effective} %{urle.scheme}\n" 42*6236dae4SAndroid Build Coastguard Worker</command> 43*6236dae4SAndroid Build Coastguard Worker</client> 44*6236dae4SAndroid Build Coastguard Worker 45*6236dae4SAndroid Build Coastguard Worker# 46*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 47*6236dae4SAndroid Build Coastguard Worker<verify> 48*6236dae4SAndroid Build Coastguard Worker<stdout> 49*6236dae4SAndroid Build Coastguard Worker1 https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002 https 50*6236dae4SAndroid Build Coastguard Worker</stdout> 51*6236dae4SAndroid Build Coastguard Worker</verify> 52*6236dae4SAndroid Build Coastguard Worker</testcase> 53