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