Debian Codegraph @

curl/tests/data/test516

raw
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 200 OK swsclose
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
8
9 OK
10 </data>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 http
17 </server>
18 # tool is what to use instead of 'curl'
19 <tool>
20 lib516
21 </tool>
22
23 <name>
24 make a HTTPPOST set to NULL
25 </name>
26 <command>
27 http://%HOSTIP:%HTTPPORT/516
28 </command>
29 </client>
30
31 #
32 # Verify data after the test has been "shot"
33 <verify>
34 <strip>
35 ^User-Agent:.*
36 </strip>
37 <protocol>
38 POST /516 HTTP/1.1
39 Host: 127.0.0.1:%HTTPPORT
40 Accept: */*
41 Content-Length: 0
42
43 </protocol>
44 </verify>