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