Git init
[external/curl.git] / tests / data / test512
1 <testcase>
2 #
3 # Server-side
4 <reply>
5 <data mode="text">
6 HTTP/1.1 200 OK swsclose\r
7 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
8 Server: yes\r
9 Connection: close\r
10 \r
11 hello
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20 # tool is what to use instead of 'curl'
21 <tool>
22 lib512
23 </tool>
24
25  <name>
26 simple curl_easy_duplicate() test
27  </name>
28  <command>
29 http://%HOSTIP:%HTTPPORT/512
30 </command>
31 </client>
32
33 #
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent:.*
38 </strip>
39 <protocol>
40 GET /512 HTTP/1.1\r
41 Host: %HOSTIP:%HTTPPORT\r
42 Accept: */*\r
43 \r
44 </protocol>
45 </verify>
46 </testcase>