Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test34
bloba332b8c4bdb158797d3a1129935944ec406e3ee2
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 chunked Transfer-Encoding
7 </keywords>
8 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 funky chunky!
14 Server: fakeit/0.9 fakeitbad/1.0
15 Transfer-Encoding: chunked
16 Connection: mooo
18 40\r
19 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\r
20 30\r
21 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\r
22 21;heresatest=moooo\r
23 cccccccccccccccccccccccccccccccc
25 0\r
27 </data>
28 <datacheck>
29 HTTP/1.1 200 funky chunky!
30 Server: fakeit/0.9 fakeitbad/1.0
31 Transfer-Encoding: chunked
32 Connection: mooo
34 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
35 </datacheck>
36 </reply>
39 # Client-side
40 <client>
41 <server>
42 http
43 </server>
44  <name>
45 HTTP GET with chunked Transfer-Encoding
46  </name>
47  <command>
48 http://%HOSTIP:%HTTPPORT/34
49 </command>
50 </client>
53 # Verify data after the test has been "shot"
54 <verify>
55 <strip>
56 ^User-Agent:.*
57 </strip>
58 <protocol>
59 GET /34 HTTP/1.1\r
60 Host: %HOSTIP:%HTTPPORT\r
61 Accept: */*\r
63 </protocol>
64 </verify>
66 </testcase>