Debian Codegraph @

curl/tests/data/test53

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 cookies
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Server: Microsoft-IIS/4.0
13 Date: Tue, 25 Sep 2001 19:37:44 GMT
14 Content-Type: text/html
15 Connection: close
16 Content-Length: 21
17
18 This server says moo
19 </data>
20 </reply>
21
22 # Client-side
23 <client>
24 <server>
25 http
26 </server>
27 <name>
28 HTTP, junk session cookies
29 </name>
30 <command>
31 %HOSTIP:%HTTPPORT/want/53 -b log/injar53 -j
32 </command>
33 <file name="log/injar53">
34 127.0.0.1 FALSE / FALSE 2139150993 mooo indeed
35 127.0.0.1 FALSE / FALSE 0 moo1 indeed
36 127.0.0.1 FALSE / FALSE 1 moo2 indeed
37 </file>
38 </client>
39
40 # Verify data after the test has been "shot"
41 <verify>
42 <strip>
43 ^User-Agent:.*
44 </strip>
45 <protocol>
46 GET /want/53 HTTP/1.1
47 Host: 127.0.0.1:%HTTPPORT
48 Accept: */*
49 Cookie: mooo=indeed
50
51 </protocol>
52 </verify>