Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test513
blob8a69ce49a59dd3518754a626370b46dfde90f17f
1 <testcase>
3 # Server-side
4 <reply>
5 </reply>
7 # Client-side
8 <client>
9 <server>
10 http
11 </server>
12 # tool is what to use instead of 'curl'
13 <tool>
14 lib513
15 </tool>
17  <name>
18 send HTTP POST using read callback that returns CURL_READFUNC_ABORT
19  </name>
20  <command>
21 http://%HOSTIP:%HTTPPORT/513
22 </command>
23 </client>
26 # Verify data after the test has been "shot"
27 <verify>
28 <protocol>
29 POST /513 HTTP/1.1
30 Host: %HOSTIP:%HTTPPORT
31 Accept: */*
32 Content-Length: 1
33 Content-Type: application/x-www-form-urlencoded
35 </protocol>
36 # 42 - aborted by callback
37 <errorcode>
39 </errorcode>
40 </verify>
41 </testcase>