• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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^Content-Type: multipart/form-data.*
35^-----------------------.*
36</strip>
37<protocol>
38POST /158 HTTP/1.1
39Host: %HOSTIP:%HTTPPORT
40User-Agent: curl/%VERSION
41Accept: */*
42Content-Length: 145
43Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc
44
45------------------------------4f12fcdaa3bc
46Content-Disposition: form-data; name="name"
47
48daniel
49------------------------------4f12fcdaa3bc--
50</protocol>
51<errorcode>
5252
53</errorcode>
54</verify>
55</testcase>
56