Debian Codegraph @

curl/tests/data/test172

raw
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Content-Length: 4
6 Connection: close
7
8 boo
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17 <name>
18 HTTP with cookies file and custom added cookie
19 </name>
20 <command>
21 http://%HOSTIP:%HTTPPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
22 </command>
23 <file name="log/jar172.txt">
24 # Netscape HTTP Cookie File
25 # http://www.netscape.com/newsref/std/cookie_spec.html
26 # This file was generated by libcurl! Edit at your own risk.
27
28 .127.0.0.1 TRUE /silly/ FALSE 0 ismatch this
29 .127.0.0.1 TRUE / FALSE 0 partmatch present
30 127.0.0.1 FALSE /we/want/ FALSE 1391252187 nodomain value
31 </file>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent:.*
38 </strip>
39 <protocol>
40 GET /we/want/172 HTTP/1.1
41 Host: 127.0.0.1:%HTTPPORT
42 Accept: */*
43 Cookie: nodomain=value; partmatch=present; tool=curl; name=fool
44
45 </protocol>
46 </verify>