1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP proxy 6cookies 7</keywords> 8</info> 9 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-Length: 0 18Connection: close 19Content-Type: text/html 20Set-Cookie: a=b; Domain=.me.; 21 22</data> 23 24</reply> 25 26# 27# Client-side 28<client> 29<features> 30cookies 31proxy 32</features> 33<server> 34http 35</server> 36<name> 37URL with trailing dot and receiving a cookie for the TLD with dot 38</name> 39<command> 40-x http://%HOSTIP:%HTTPPORT http://firsthost.me. -c %LOGDIR/cookies%TESTNUMBER 41</command> 42</client> 43 44# 45# Verify data after the test has been "shot" 46<verify> 47<protocol> 48GET http://firsthost.me./ HTTP/1.1 49Host: firsthost.me. 50User-Agent: curl/%VERSION 51Accept: */* 52Proxy-Connection: Keep-Alive 53 54</protocol> 55<file name="%LOGDIR/cookies%TESTNUMBER" mode="text"> 56# Netscape HTTP Cookie File 57# https://curl.se/docs/http-cookies.html 58# This file was generated by libcurl! Edit at your own risk. 59 60</file> 61</verify> 62</testcase> 63