1<testcase> 2# 3# Server-side 4<reply> 5</reply> 6 7# Client-side 8<client> 9<server> 10http 11</server> 12# tool is what to use instead of 'curl' 13<tool> 14lib513 15</tool> 16 17 <name> 18send HTTP POST using read callback that returns CURL_READFUNC_ABORT 19 </name> 20# the 1s post-command delay helps to prevent a spurious failure on s390 21 <command delay="1"> 22http://%HOSTIP:%HTTPPORT/513 23</command> 24</client> 25 26# 27# Verify data after the test has been "shot" 28<verify> 29<protocol> 30POST /513 HTTP/1.1 31Host: %HOSTIP:%HTTPPORT 32Accept: */* 33Content-Length: 1 34Content-Type: application/x-www-form-urlencoded 35 36</protocol> 37# 42 - aborted by callback 38<errorcode> 3942 40</errorcode> 41</verify> 42</testcase> 43