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