• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: Thu, 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/1068 -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<strip>
42^User-Agent:.*
43</strip>
44<protocol>
45PUT /bzz/1068 HTTP/1.1
46Host: %HOSTIP:%HTTPPORT
47Accept: */*
48Transfer-Encoding: chunked
49Expect: 100-continue
50
5113
52more than one byte
53
540
55
56</protocol>
57</verify>
58</testcase>
59