1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 7cookies 8</keywords> 9</info> 10 11# This test is very similar to 1216, only that it sets the cookies from the 12# first site instead of reading from a file 13<reply> 14<data> 15HTTP/1.1 200 OK 16Date: Tue, 25 Sep 2001 19:37:44 GMT 17Set-Cookie: bug=fixed; domain=.example.fake; 18Content-Length: 21 19 20This server says moo 21</data> 22</reply> 23 24# Client-side 25<client> 26<server> 27http 28</server> 29<name> 30HTTP cookies and domains with same prefix 31</name> 32<command> 33http://example.fake/c/%TESTNUMBER http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b nonexisting -x %HOSTIP:%HTTPPORT 34</command> 35<features> 36cookies 37proxy 38</features> 39</client> 40 41# Verify data after the test has been "shot" 42<verify> 43<protocol> 44GET http://example.fake/c/%TESTNUMBER HTTP/1.1 45Host: example.fake 46User-Agent: curl/%VERSION 47Accept: */* 48Proxy-Connection: Keep-Alive 49 50GET http://example.fake/c/%TESTNUMBER HTTP/1.1 51Host: example.fake 52User-Agent: curl/%VERSION 53Accept: */* 54Proxy-Connection: Keep-Alive 55Cookie: bug=fixed 56 57GET http://bexample.fake/c/%TESTNUMBER HTTP/1.1 58Host: bexample.fake 59User-Agent: curl/%VERSION 60Accept: */* 61Proxy-Connection: Keep-Alive 62 63</protocol> 64</verify> 65</testcase> 66