xref: /curl/tests/data/test1216 (revision 3fd80c7b)
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
15Server: Microsoft-IIS/4.0
16Date: Tue, 25 Sep 2001 19:37:44 GMT
17Content-Type: text/html
18Connection: close
19Content-Length: 21
20
21This server says moo
22</data>
23</reply>
24
25# Client-side
26<client>
27<server>
28http
29</server>
30<name>
31HTTP cookie domains tailmatching the host name
32</name>
33<command>
34http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT
35</command>
36<file name="%LOGDIR/injar%TESTNUMBER">
37example.fake	FALSE	/a	FALSE	22139150993	mooo	indeed
38example.fake	FALSE	/b	FALSE	0		moo1	indeed
39example.fake	FALSE	/c	FALSE	22139150993	moo2	indeed
40example.fake	TRUE	/c	FALSE	22139150993	moo3	indeed
41</file>
42<features>
43cookies
44proxy
45</features>
46</client>
47
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET http://example.fake/c/%TESTNUMBER HTTP/1.1
52Host: example.fake
53User-Agent: curl/%VERSION
54Accept: */*
55Proxy-Connection: Keep-Alive
56Cookie: moo3=indeed; moo2=indeed
57
58GET http://bexample.fake/c/%TESTNUMBER HTTP/1.1
59Host: bexample.fake
60User-Agent: curl/%VERSION
61Accept: */*
62Proxy-Connection: Keep-Alive
63
64</protocol>
65</verify>
66</testcase>
67