1<testcase>
2<reply>
3<data>
4HTTP/1.0 200 OK swsclose
5Date: Thu, 09 Nov 2010 14:49:00 GMT
6Server: test-server/fake
7
8blablabla
9
10</data>
11</reply>
12
13# Client-side
14<client>
15<server>
16http
17</server>
18 <name>
19HTTP 1.0 POST
20 </name>
21 <command>
22http://%HOSTIP:%HTTPPORT/we/want/181 --data-binary @log/test181.txt --http1.0
23</command>
24<file name="log/test181.txt">
25Weird
26     file
27         to
28   upload
29for
30   testing
31the
32   POST
33      feature
34</file>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<strip>
40^User-Agent:.*
41</strip>
42<protocol>
43POST /we/want/181 HTTP/1.0
44Host: %HOSTIP:%HTTPPORT
45Accept: */*
46Content-Length: 79
47Content-Type: application/x-www-form-urlencoded
48
49Weird
50     file
51         to
52   upload
53for
54   testing
55the
56   POST
57      feature
58</protocol>
59</verify>
60</testcase>
61