Debian Codegraph @

curl/tests/data/test179

raw
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Server: Microsoft-IIS/4.0
6 Date: Tue, 25 Sep 2001 19:37:44 GMT
7 Content-Type: text/html
8 Connection: close
9 Content-Length: 21
10
11 This server says moo
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20 <name>
21 HTTP using proxy and cookies with path checks
22 </name>
23 <command>
24 http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HTTPPORT
25 </command>
26 <file name="log/injar179">
27 supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed
28 supertrooper.fake FALSE /b FALSE 0 moo1 indeed
29 supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed
30 </file>
31 </client>
32
33 # Verify data after the test has been "shot"
34 <verify>
35 <strip>
36 ^User-Agent:.*
37 </strip>
38 <protocol>
39 GET http://supertrooper.fake/c/179 HTTP/1.1
40 Host: supertrooper.fake
41 Pragma: no-cache
42 Accept: */*
43 Proxy-Connection: Keep-Alive
44 Cookie: moo2=indeed
45
46 </protocol>
47 </verify>