1<testcase> 2<info> 3<keywords> 4HTTP 5cookies 6CURLOPT_COOKIEFILE 7</keywords> 8</info> 9 10# Server-side 11<reply> 12<data nocheck="yes" crlf="yes"> 13HTTP/1.1 200 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Content-Type: text/html 17Funny-head: yesyes swsclose 18Set-Cookie: foobar=name; 19Set-Cookie: secondcookie=present; 20 21</data> 22</reply> 23 24# Client-side 25<client> 26<server> 27http 28</server> 29 <name> 30CURLOPT_COOKIEFILE then reset then set again 31 </name> 32<tool> 33lib%TESTNUMBER 34</tool> 35<command> 36http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER 37</command> 38<file name="log/cookies%TESTNUMBER" mode="text"> 39# Netscape HTTP Cookie File 40# https://curl.se/docs/http-cookies.html 41# This file was generated by libcurl! Edit at your own risk. 42 43%HOSTIP FALSE /we/want/ FALSE 0 secondcookie present 44%HOSTIP FALSE /we/want/ FALSE 0 foobar name 45</file> 46</client> 47 48# Verify data after the test has been "shot" 49<verify> 50</verify> 51</testcase> 52