1<testcase> 2<info> 3<keywords> 4multi 5</keywords> 6</info> 7 8# Server-side 9<reply> 10<data> 11HTTP/1.1 302 OK 12Date: Thu, 09 Nov 2010 14:49:00 GMT 13Content-Length: 6 14Location: /15510002 15 16-foo- 17</data> 18<data2> 19HTTP/1.1 200 OK 20Date: Thu, 09 Nov 2010 14:49:00 GMT 21Content-Length: 11 22 23redirected 24</data2> 25<datacheck> 26redirected 27redirected 28</datacheck> 29</reply> 30 31# Client-side 32<client> 33<server> 34http 35</server> 36# tool is what to use instead of 'curl' 37<tool> 38lib1551 39</tool> 40 41 <name> 42re-run redirected transfer without setting URL again 43 </name> 44 <command> 45http://%HOSTIP:%HTTPPORT/1551 46</command> 47</client> 48 49<verify> 50<protocol> 51GET /1551 HTTP/1.1 52Host: %HOSTIP:%HTTPPORT 53Accept: */* 54 55GET /15510002 HTTP/1.1 56Host: %HOSTIP:%HTTPPORT 57Accept: */* 58 59GET /1551 HTTP/1.1 60Host: %HOSTIP:%HTTPPORT 61Accept: */* 62 63GET /15510002 HTTP/1.1 64Host: %HOSTIP:%HTTPPORT 65Accept: */* 66 67</protocol> 68</verify> 69</testcase> 70