Debian Codegraph @

curl/tests/data/test180

raw
1 <reply>
2 <data>
3 HTTP/1.0 200 OK swsclose
4 Date: Thu, 09 Nov 2010 14:49:00 GMT
5 Server: test-server/fake
6
7 blablabla
8
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17 <name>
18 HTTP 1.0 PUT
19 </name>
20 <command>
21 http://%HOSTIP:%HTTPPORT/we/want/180 -T log/test180.txt --http1.0
22 </command>
23 <file name="log/test180.txt">
24 Weird
25 file
26 to
27 upload
28 for
29 testing
30 the
31 PUT
32 feature
33 </file>
34 </reply>
35
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 PUT /we/want/180 HTTP/1.0
43 Host: 127.0.0.1:%HTTPPORT
44 Accept: */*
45 Content-Length: 78
46
47 Weird
48 file
49 to
50 upload
51 for
52 testing
53 the
54 PUT
55 feature
56 </protocol>
57 </verify>