Debian Codegraph @

curl/tests/data/test171

raw
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Date: Tue, 25 Sep 2001 19:37:44 GMT
6 Content-Type: text/html
7 Set-Cookie: XToken=xt;Domain=.z.x.com;Path=/
8 Cache-control: private
9 Content-Length: 62
10
11 This server reply is for testing a simple Location: following
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20 <name>
21 HTTP, get cookie with dot prefixed full domain
22 </name>
23 <command>
24 -c log/jar171 -x %HOSTIP:%HTTPPORT http://z.x.com/171
25 </command>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <strip>
31 ^User-Agent:.*
32 </strip>
33 <protocol>
34 GET http://z.x.com/171 HTTP/1.1
35 Host: z.x.com
36 Pragma: no-cache
37 Accept: */*
38 Proxy-Connection: Keep-Alive
39
40 </protocol>
41 <file name="log/jar171">
42 # Netscape HTTP Cookie File
43 # http://www.netscape.com/newsref/std/cookie_spec.html
44 # This file was generated by libcurl! Edit at your own risk.
45
46 .z.x.com TRUE / FALSE 0 XToken xt
47 </file>
48 </verify>