]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test98
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test98
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.0 200 OK
6 Server: test-server/fake
7 Content-Type: text/html
8 Content-Length: 6
9
10 blaha
11 </data>
12 </reply>
13
14 #
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20  <name>
21 HTTP PUT from stdin with set size, disabling chunked transfer-encoding
22  </name>
23  <command>
24  -T - -H "Transfer-Encoding:" -H "Content-Length: 14" http://%HOSTIP:%HOSTPORT/98
25 </command>
26 <stdin>
27 data on stdin
28 </stdin>
29 </client>
30
31 #
32 # Verify data after the test has been "shot"
33 <verify>
34 <strip>
35 ^User-Agent:.*
36 </strip>
37 <protocol>
38 PUT /98 HTTP/1.1
39 Host: 127.0.0.1:8999
40 Pragma: no-cache
41 Accept: */*
42 Content-Length: 14
43 Expect: 100-continue
44
45 data on stdin
46 </protocol>
47 </verify>