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, 25 Sep 2001 19:37:44 GMT 16Content-Type: text/html 17Set-Cookie: XToken=xt;Domain=.z.x.com;Path=/ 18Cache-control: private 19Content-Length: 62 20 21This server reply is for testing a simple cookie test case... 22</data> 23</reply> 24 25# Client-side 26<client> 27<server> 28http 29</server> 30<name> 31HTTP, get cookie with dot prefixed full domain 32</name> 33<command> 34-c %LOGDIR/jar%TESTNUMBER -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER 35</command> 36<features> 37cookies 38proxy 39</features> 40</client> 41 42# Verify data after the test has been "shot" 43<verify> 44<protocol> 45GET http://z.x.com/%TESTNUMBER HTTP/1.1 46Host: z.x.com 47User-Agent: curl/%VERSION 48Accept: */* 49Proxy-Connection: Keep-Alive 50 51</protocol> 52<file name="%LOGDIR/jar%TESTNUMBER" mode="text"> 53# Netscape HTTP Cookie File 54# https://curl.se/docs/http-cookies.html 55# This file was generated by libcurl! Edit at your own risk. 56 57.z.x.com TRUE / FALSE 0 XToken xt 58</file> 59</verify> 60</testcase> 61