1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP PUT
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11HTTP/1.0 200 OK swsclose
12Date: Thu, 09 Nov 2010 14:49:00 GMT
13Server: test-server/fake
14
15blablabla
16
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25 <name>
26simple HTTP PUT from file
27 </name>
28 <command>
29http://%HOSTIP:%HTTPPORT/we/want/10 -T log/test10.txt
30</command>
31<file name="log/test10.txt">
32Weird
33     file
34         to
35   upload
36for
37   testing
38the
39   PUT
40      feature
41</file>
42</client>
43
44# Verify data after the test has been "shot"
45<verify>
46<strip>
47^User-Agent:.*
48</strip>
49<protocol>
50PUT /we/want/10 HTTP/1.1
51Host: %HOSTIP:%HTTPPORT
52Accept: */*
53Content-Length: 78
54Expect: 100-continue
55
56Weird
57     file
58         to
59   upload
60for
61   testing
62the
63   PUT
64      feature
65</protocol>
66</verify>
67</testcase>
68