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<strip> 51^User-Agent:.* 52</strip> 53<protocol> 54GET /1551 HTTP/1.1 55Host: %HOSTIP:%HTTPPORT 56Accept: */* 57 58GET /15510002 HTTP/1.1 59Host: %HOSTIP:%HTTPPORT 60Accept: */* 61 62GET /1551 HTTP/1.1 63Host: %HOSTIP:%HTTPPORT 64Accept: */* 65 66GET /15510002 HTTP/1.1 67Host: %HOSTIP:%HTTPPORT 68Accept: */* 69 70</protocol> 71</verify> 72</testcase> 73