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