xref: /curl/tests/data/test425 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP PUT
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data crlf="yes">
13HTTP/1.1 200 OK
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Content-Length: 6
16Connection: close
17Content-Type: text/html
18
19-foo-
20</data>
21</reply>
22
23#
24# Client-side
25<client>
26<server>
27http
28</server>
29<name>
30HTTP PUT with path ending with slash + query
31</name>
32<command>
33-T %LOGDIR/up%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER/?fullpath
34</command>
35<file name="%LOGDIR/up%TESTNUMBER">
36content
37</file>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44PUT /%TESTNUMBER/?fullpath HTTP/1.1
45Host: %HOSTIP:%HTTPPORT
46User-Agent: curl/%VERSION
47Accept: */*
48Content-Length: 8
49
50content
51</protocol>
52</verify>
53</testcase>
54