1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6followlocation 7</keywords> 8</info> 9# 10# Server-side 11<reply> 12<data> 13HTTP/1.1 302 OK swsclose 14Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Connection: close 17 18</data> 19<data2> 20HTTP/1.1 200 OK swsclose 21Location: this should be ignored 22Date: Tue, 09 Nov 2010 14:49:00 GMT 23Connection: close 24 25body 26</data2> 27<datacheck> 28HTTP/1.1 302 OK swsclose 29%if !hyper 30Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002 31%else 32Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002 33%endif 34Date: Tue, 09 Nov 2010 14:49:00 GMT 35Connection: close 36 37HTTP/1.1 200 OK swsclose 38Location: this should be ignored 39Date: Tue, 09 Nov 2010 14:49:00 GMT 40Connection: close 41 42body 43</datacheck> 44</reply> 45 46# 47# Client-side 48<client> 49<server> 50http 51</server> 52<name> 53HTTP redirect with whitespace after ? (and conversion) 54</name> 55<command> 56http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L 57</command> 58</client> 59 60# 61# Verify data after the test has been "shot" 62<verify> 63<protocol> 64GET /we/are/all/twits/%TESTNUMBER HTTP/1.1 65Host: %HOSTIP:%HTTPPORT 66User-Agent: curl/%VERSION 67Accept: */* 68 69GET /we/are/all/moo.html/?name=d+a+niel&testcase=/%TESTNUMBER0002 HTTP/1.1 70Host: %HOSTIP:%HTTPPORT 71User-Agent: curl/%VERSION 72Accept: */* 73 74</protocol> 75</verify> 76</testcase> 77