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