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