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>
26HTTP PUT from file with weird letters
27</name>
28 <command>
29http://%HOSTIP:%HTTPPORT/we/want/ -T log/58te[]st.txt -g
30</command>
31<file name="log/58te[]st.txt">
32a few bytes
33</file>
34</client>
35
36# Verify data after the test has been "shot"
37<verify>
38<strip>
39^User-Agent:.*
40</strip>
41<protocol>
42PUT /we/want/58te%5B%5Dst.txt HTTP/1.1
43Host: %HOSTIP:%HTTPPORT
44Accept: */*
45Content-Length: 12
46Expect: 100-continue
47
48a few bytes
49</protocol>
50</verify>
51</testcase>
52