1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard Worker</keywords> 6*6236dae4SAndroid Build Coastguard Worker</info> 7*6236dae4SAndroid Build Coastguard Worker# 8*6236dae4SAndroid Build Coastguard Worker# This reproduces issue #3340 9*6236dae4SAndroid Build Coastguard Worker# 10*6236dae4SAndroid Build Coastguard Worker# Server-side 11*6236dae4SAndroid Build Coastguard Worker<reply> 12*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes"> 13*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 302 redirect to broken URL 14*6236dae4SAndroid Build Coastguard WorkerDate: Thu, 17 Mar 2016 14:41:00 GMT 15*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 16*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/plain; charset=US-ASCII 17*6236dae4SAndroid Build Coastguard WorkerX-Special: swsclose 18*6236dae4SAndroid Build Coastguard WorkerLocation: h ttp://1.2.4.5/test 19*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 20*6236dae4SAndroid Build Coastguard WorkerConnection: close 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard Worker</data> 23*6236dae4SAndroid Build Coastguard Worker</reply> 24*6236dae4SAndroid Build Coastguard Worker 25*6236dae4SAndroid Build Coastguard Worker# Client-side 26*6236dae4SAndroid Build Coastguard Worker<client> 27*6236dae4SAndroid Build Coastguard Worker<server> 28*6236dae4SAndroid Build Coastguard Workerhttp 29*6236dae4SAndroid Build Coastguard Worker</server> 30*6236dae4SAndroid Build Coastguard Worker# tool is what to use instead of 'curl' 31*6236dae4SAndroid Build Coastguard Worker<tool> 32*6236dae4SAndroid Build Coastguard Workerlib1518 33*6236dae4SAndroid Build Coastguard Worker</tool> 34*6236dae4SAndroid Build Coastguard Worker 35*6236dae4SAndroid Build Coastguard Worker<name> 36*6236dae4SAndroid Build Coastguard WorkerExtract Location: with broken absolute URL 37*6236dae4SAndroid Build Coastguard Worker</name> 38*6236dae4SAndroid Build Coastguard Worker<command> 39*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER 40*6236dae4SAndroid Build Coastguard Worker</command> 41*6236dae4SAndroid Build Coastguard Worker</client> 42*6236dae4SAndroid Build Coastguard Worker 43*6236dae4SAndroid Build Coastguard Worker# 44*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 45*6236dae4SAndroid Build Coastguard Worker<verify> 46*6236dae4SAndroid Build Coastguard Worker<strippart> 47*6236dae4SAndroid Build Coastguard Worker 48*6236dae4SAndroid Build Coastguard Worker</strippart> 49*6236dae4SAndroid Build Coastguard Worker<protocol> 50*6236dae4SAndroid Build Coastguard Worker</protocol> 51*6236dae4SAndroid Build Coastguard Worker<stdout> 52*6236dae4SAndroid Build Coastguard Workerres 0 53*6236dae4SAndroid Build Coastguard Workerstatus 302 54*6236dae4SAndroid Build Coastguard Workerredirects 0 55*6236dae4SAndroid Build Coastguard Workereffectiveurl http://%HOSTIP:%HTTPPORT/%TESTNUMBER 56*6236dae4SAndroid Build Coastguard Workerredirecturl http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test 57*6236dae4SAndroid Build Coastguard Worker</stdout> 58*6236dae4SAndroid Build Coastguard Worker<errorcode> 59*6236dae4SAndroid Build Coastguard Worker0 60*6236dae4SAndroid Build Coastguard Worker</errorcode> 61*6236dae4SAndroid Build Coastguard Worker</verify> 62*6236dae4SAndroid Build Coastguard Worker</testcase> 63