Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test1068
blobff26d78c6eb9b418a97f520632a679109e6e4b79
1 <testcase>
2 # Similar to test 60
3 <info>
4 <keywords>
5 HTTP
6 HTTP PUT
7 </keywords>
8 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.0 200 OK swsclose\r
14 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
15 Server: test-server/fake\r
17 blablabla
19 </data>
20 </reply>
22 # Client-side
23 <client>
24 <server>
25 http
26 </server>
27 <name>
28 HTTP PUT from stdin
29 </name>
30  <command>
31 http://%HOSTIP:%HTTPPORT/bzz/1068 -T -
32 </command>
33 <stdin>
34 more than one byte
35 </stdin>
36 </client>
38 # Verify data after the test has been "shot"
39 <verify>
40 <strip>
41 ^User-Agent:.*
42 </strip>
43 <protocol>
44 PUT /bzz/1068 HTTP/1.1\r
45 Host: %HOSTIP:%HTTPPORT\r
46 Accept: */*\r
47 Transfer-Encoding: chunked\r
48 Expect: 100-continue\r
50 13\r
51 more than one byte
53 0\r
55 </protocol>
56 </verify>
57 </testcase>