xref: /curl/tests/data/test180 (revision 3fd80c7b)
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: Tue, 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/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt --http1.0
31</command>
32<file name="%LOGDIR/test%TESTNUMBER.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<protocol>
48PUT /we/want/%TESTNUMBER HTTP/1.0
49Host: %HOSTIP:%HTTPPORT
50User-Agent: curl/%VERSION
51Accept: */*
52Content-Length: 78
53
54Weird
55     file
56         to
57   upload
58for
59   testing
60the
61   PUT
62      feature
63</protocol>
64</verify>
65</testcase>
66