1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP POST 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data> 13</data> 14</reply> 15 16# Client-side 17<client> 18<server> 19http 20</server> 21# tool is what to use instead of 'curl' 22<tool> 23lib587 24</tool> 25 26 <name> 27HTTP multi-part formpost with aborted read callback 28 </name> 29 <command> 30http://%HOSTIP:%HTTPPORT/587 31</command> 32</client> 33 34# 35# Verify data after the test has been "shot" 36<verify> 37<strippart> 38s/^--------------------------[a-z0-9]*/------------------------------/ 39s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/ 40</strippart> 41<protocol> 42POST /587 HTTP/1.1 43Host: %HOSTIP:%HTTPPORT 44Accept: */* 45Content-Length: 718 46Expect: 100-continue 47Content-Type: multipart/form-data; boundary=---------------------------- 48 49------------------------------ 50Content-Disposition: form-data; name="sendfile"; filename="postit2.c" 51 52</protocol> 53# CURLE_ABORTED_BY_CALLBACK (42) 54<errorcode> 5542 56</errorcode> 57</verify> 58</testcase> 59