Git init
[external/curl.git] / tests / data / test158
1 <testcase>
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 100 Continue swsclose\r
6 Silly-header: yeeeees\r
7 \r
8 </data>
9 </reply>
10
11 # Client-side
12 <client>
13 <server>
14 http
15 </server>
16  <name>
17 HTTP multipart formpost with only a 100 reply
18  </name>
19  <command>
20 http://%HOSTIP:%HTTPPORT/158 -F name=daniel
21 </command>
22 </client>
23
24 # Verify data after the test has been "shot"
25 <verify>
26 <strip>
27 ^User-Agent:.*
28 ^Content-Type: multipart/form-data.*
29 ^---------------------------.*
30 </strip>
31 <protocol>
32 POST /158 HTTP/1.1\r
33 User-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\r
34 Host: %HOSTIP:%HTTPPORT\r
35 Accept: */*\r
36 Content-Length: 145\r
37 Expect: 100-continue\r
38 Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc\r
39 \r
40 ------------------------------4f12fcdaa3bc\r
41 Content-Disposition: form-data; name="name"\r
42 \r
43 daniel\r
44 ------------------------------4f12fcdaa3bc--\r
45 </protocol>
46 <errorcode>
47 52
48 </errorcode>
49 </verify>
50 </testcase>