• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7cookies
8cookie path
9</keywords>
10</info>
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Tue, 25 Sep 2001 19:37:44 GMT
15Set-Cookie: path1=root; domain=.example.fake; path=/;
16Set-Cookie: path2=depth1; domain=.example.fake; path=/hoge;
17Content-Length: 34
18
19This server says cookie path test
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28 <name>
29HTTP cookie path match
30 </name>
31 <command>
32http://example.fake/hoge/1228 http://example.fake/hogege/ -b nonexisting -x %HOSTIP:%HTTPPORT
33</command>
34<features>
35proxy
36</features>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42GET http://example.fake/hoge/1228 HTTP/1.1
43Host: example.fake
44User-Agent: curl/%VERSION
45Accept: */*
46Proxy-Connection: Keep-Alive
47
48GET http://example.fake/hogege/ HTTP/1.1
49Host: example.fake
50User-Agent: curl/%VERSION
51Accept: */*
52Proxy-Connection: Keep-Alive
53Cookie: path1=root
54
55</protocol>
56</verify>
57</testcase>
58