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: 550002 13Date: Thu, 09 Nov 2010 14:50:00 GMT 14Connection: close 15 16</data> 17<data2> 18HTTP/1.1 200 OK swsclose 19Date: Thu, 09 Nov 2010 14:50:00 GMT 20Connection: close 21 22body 23</data2> 24<datacheck> 25HTTP/1.1 302 OK swsclose 26Location: 550002 27Date: Thu, 09 Nov 2010 14:50:00 GMT 28Connection: close 29 30HTTP/1.1 200 OK swsclose 31Date: Thu, 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/55 -L 47</command> 48</client> 49 50<verify> 51<strip> 52^User-Agent:.* 53</strip> 54<protocol> 55GET /55 HTTP/1.1 56Host: %HOSTIP:%HTTPPORT 57Accept: */* 58 59GET /550002 HTTP/1.1 60User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3 61Host: %HOSTIP:%HTTPPORT 62Accept: */* 63 64</protocol> 65</verify> 66</testcase> 67