xref: /curl/tests/data/test1068 (revision 3fd80c7b)
1<testcase>
2# Similar to test 60
3<info>
4<keywords>
5HTTP
6HTTP PUT
7chunked Transfer-Encoding
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14HTTP/1.0 200 OK swsclose
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17
18blablabla
19
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28<name>
29HTTP PUT from stdin
30</name>
31<command>
32http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T -
33</command>
34<stdin>
35more than one byte
36</stdin>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42PUT /bzz/%TESTNUMBER HTTP/1.1
43Host: %HOSTIP:%HTTPPORT
44User-Agent: curl/%VERSION
45Accept: */*
46Transfer-Encoding: chunked
47Expect: 100-continue
48
4913
50more than one byte
51
520
53
54</protocol>
55</verify>
56</testcase>
57