1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 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 17Content-Type: text/html 18Content-Length: 4 19Set-Cookie: moo=yes; 20 21hej 22</data> 23<data2> 24HTTP/1.1 200 OK 25Date: Tue, 09 Nov 2010 14:49:00 GMT 26Server: test-server/fake 27Content-Type: text/html 28Content-Length: 0 29Funny-head: yesyes swsclose 30 31</data2> 32</reply> 33 34# Client-side 35<client> 36<server> 37http 38</server> 39 <name> 40HTTP with cookie using host name 'moo' 41 </name> 42 <command> 43-x http://%HOSTIP:%HTTPPORT http://moo/we/want/%TESTNUMBER -b none http://moo/we/want/%TESTNUMBER0002 44</command> 45<features> 46proxy 47</features> 48</client> 49 50# Verify data after the test has been "shot" 51<verify> 52<protocol> 53GET http://moo/we/want/%TESTNUMBER HTTP/1.1 54Host: moo 55User-Agent: curl/%VERSION 56Accept: */* 57Proxy-Connection: Keep-Alive 58 59GET http://moo/we/want/%TESTNUMBER0002 HTTP/1.1 60Host: moo 61User-Agent: curl/%VERSION 62Accept: */* 63Proxy-Connection: Keep-Alive 64Cookie: moo=yes 65 66</protocol> 67</verify> 68</testcase> 69