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<server>
20http
21</server>
22# tool is what to use instead of 'curl'
23<tool>
24lib587
25</tool>
26
27 <name>
28HTTP multi-part formpost with aborted read callback
29 </name>
30 <command>
31http://%HOSTIP:%HTTPPORT/587
32</command>
33</client>
34
35#
36# Verify data after the test has been "shot"
37<verify>
38<strippart>
39s/^--------------------------[a-z0-9]*/------------------------------/
40s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
41</strippart>
42<protocol>
43POST /587 HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45Accept: */*
46Content-Length: 744
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