xref: /curl/tests/data/test364 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTPS PUT
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11HTTP/1.0 200 OK swsclose
12Date: Tue, 09 Nov 2010 14:49:00 GMT
13Server: test-server/fake
14
15blablabla
16</data>
17</reply>
18
19# Client-side
20<client>
21<features>
22SSL
23</features>
24<server>
25https
26</server>
27<name>
28HTTPS PUT of small file
29</name>
30<command>
31-k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
32</command>
33<file name="%LOGDIR/test%TESTNUMBER.txt">
34%repeat[200 x banana]%
35</file>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<protocol>
41PUT /we/want/%TESTNUMBER HTTP/1.1
42Host: %HOSTIP:%HTTPSPORT
43User-Agent: curl/%VERSION
44Accept: */*
45Content-Length: 1201
46
47%repeat[200 x banana]%
48</protocol>
49</verify>
50</testcase>
51