xref: /curl/tests/data/test158 (revision 3fd80c7b)
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<features>
21Mime
22</features>
23<server>
24http
25</server>
26<name>
27HTTP multipart formpost with only a 100 reply
28</name>
29<command>
30http://%HOSTIP:%HTTPPORT/%TESTNUMBER -F name=daniel
31</command>
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36<strip>
37^Content-Type: multipart/form-data.*
38^-----------------------.*
39</strip>
40<protocol>
41POST /%TESTNUMBER HTTP/1.1
42Host: %HOSTIP:%HTTPPORT
43User-Agent: curl/%VERSION
44Accept: */*
45Content-Length: 157
46Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc
47
48------------------------------4f12fcdaa3bc
49Content-Disposition: form-data; name="name"
50
51daniel
52------------------------------4f12fcdaa3bc--
53</protocol>
54<errorcode>
5552
56</errorcode>
57</verify>
58</testcase>
59