1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP POST
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data>
12HTTP/1.1 100 Continue swsclose
13Silly-header: yeeeees
14
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21http
22</server>
23 <name>
24HTTP multipart formpost with only a 100 reply
25 </name>
26 <command>
27http://%HOSTIP:%HTTPPORT/158 -F name=daniel
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<strip>
34^User-Agent:.*
35^Content-Type: multipart/form-data.*
36^-----------------------.*
37</strip>
38<protocol>
39POST /158 HTTP/1.1
40User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS
41Host: %HOSTIP:%HTTPPORT
42Accept: */*
43Content-Length: 145
44Expect: 100-continue
45Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc
46
47------------------------------4f12fcdaa3bc
48Content-Disposition: form-data; name="name"
49
50daniel
51------------------------------4f12fcdaa3bc--
52</protocol>
53<errorcode>
5452
55</errorcode>
56</verify>
57</testcase>
58