]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test6
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test6
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 Server: test-server/fake
7 Content-Type: text/html
8 Funny-head: yesyes
9 swsclose: booo
10
11 </data>
12 </reply>
13
14 # Client-side
15 <client>
16 <server>
17 http
18 </server>
19  <name>
20 HTTP with simple cookie send
21  </name>
22  <command>
23 http://%HOSTIP:%HOSTPORT/we/want/that/page/6 -b "name=contents;name2=content2"
24 </command>
25 </test>
26
27 # Verify data after the test has been "shot"
28 <verify>
29 <strip>
30 ^User-Agent:.*
31 </strip>
32 <protocol>
33 GET /we/want/that/page/6 HTTP/1.1
34 Cookie: name=contents;name2=content2
35 Host: 127.0.0.1:8999
36 Pragma: no-cache
37 Accept: */*
38
39 </protocol>
40 </verify>