Debian Codegraph @

curl/tests/data/test512

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: yes
8 Connection: close
9
10 hello
11 </data>
12 </reply>
13
14 # Client-side
15 <client>
16 <server>
17 http
18 </server>
19 # tool is what to use instead of 'curl'
20 <tool>
21 lib512
22 </tool>
23
24 <name>
25 simple curl_easy_duplicate() test
26 </name>
27 <command>
28 http://%HOSTIP:%HTTPPORT/512
29 </command>
30 </client>
31
32 #
33 # Verify data after the test has been "shot"
34 <verify>
35 <strip>
36 ^User-Agent:.*
37 </strip>
38 <protocol>
39 GET /512 HTTP/1.1
40 Host: 127.0.0.1:%HTTPPORT
41 Accept: */*
42
43 </protocol>
44 </verify>