1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6followlocation 7</keywords> 8</info> 9<reply> 10<data> 11HTTP/1.1 302 OK swsclose 12Location: %TESTNUMBER0002 13Date: Tue, 09 Nov 2010 14:50:00 GMT 14Connection: close 15 16</data> 17<data2> 18HTTP/1.1 200 OK swsclose 19Date: Tue, 09 Nov 2010 14:50:00 GMT 20Connection: close 21 22body 23</data2> 24<datacheck> 25HTTP/1.1 302 OK swsclose 26Location: %TESTNUMBER0002 27Date: Tue, 09 Nov 2010 14:50:00 GMT 28Connection: close 29 30HTTP/1.1 200 OK swsclose 31Date: Tue, 09 Nov 2010 14:50:00 GMT 32Connection: close 33 34body 35</datacheck> 36</reply> 37 38<client> 39<server> 40http 41</server> 42<name> 43HTTP follow redirect with single slash in path 44</name> 45<command> 46http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L 47</command> 48</client> 49 50<verify> 51<protocol> 52GET /%TESTNUMBER HTTP/1.1 53Host: %HOSTIP:%HTTPPORT 54User-Agent: curl/%VERSION 55Accept: */* 56 57GET /%TESTNUMBER0002 HTTP/1.1 58Host: %HOSTIP:%HTTPPORT 59User-Agent: curl/%VERSION 60Accept: */* 61 62</protocol> 63</verify> 64</testcase> 65