1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6followlocation 7cookies 8</keywords> 9</info> 10 11# Server-side 12<reply> 13<data> 14HTTP/1.1 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake 17Set-Cookie: trackyou=want; path=/ 18Content-Length: 68 19 20This server reply is for testing a Location: following with cookies 21</data> 22</reply> 23 24# Client-side 25<client> 26<server> 27http 28</server> 29<name> 30HTTP response with cookies but not receiving! 31</name> 32<command> 33http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER 34</command> 35</client> 36 37# Verify data after the test has been "shot" 38<verify> 39<protocol> 40GET /want/%TESTNUMBER HTTP/1.1 41Host: %HOSTIP:%HTTPPORT 42User-Agent: curl/%VERSION 43Accept: */* 44 45GET /want/%TESTNUMBER HTTP/1.1 46Host: %HOSTIP:%HTTPPORT 47User-Agent: curl/%VERSION 48Accept: */* 49 50</protocol> 51</verify> 52</testcase> 53