1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6cookies 7secure 8</keywords> 9</info> 10 11<reply> 12<data> 13HTTP/1.1 200 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Content-Length: 4 17Content-Type: text/html 18Funny-head: yesyes 19Set-Cookie: foobar=name; path=/; secure 20 21boo 22</data> 23</reply> 24 25# Client-side 26<client> 27<server> 28http 29</server> 30<name> 31HTTP secure cookies over localhost 32</name> 33 34<setenv> 35TZ=GMT 36</setenv> 37<command> 38-4 http://localhost:%HTTPPORT/%TESTNUMBER -b none http://localhost:%HTTPPORT/%TESTNUMBER 39</command> 40<features> 41cookies 42local-http 43</features> 44</client> 45 46# Verify data after the test has been "shot" 47<verify> 48<protocol> 49GET /%TESTNUMBER HTTP/1.1 50Host: localhost:%HTTPPORT 51User-Agent: curl/%VERSION 52Accept: */* 53 54GET /%TESTNUMBER HTTP/1.1 55Host: localhost:%HTTPPORT 56User-Agent: curl/%VERSION 57Accept: */* 58Cookie: foobar=name 59 60</protocol> 61</verify> 62</testcase> 63