xref: /curl/tests/data/test326 (revision fc3e1cbc)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8#
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 OK
13Date: Mon, 29 Nov 2004 21:56:53 GMT
14Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
15Content-Type: text/html; charset=ISO-8859-1
16Transfer-Encoding: chunked
17
1818
19line 1
20 line 2
21  line 3
22
230
24
25</data>
26
27<datacheck>
2818
29line 1
30 line 2
31  line 3
32
330
34
35</datacheck>
36
37</reply>
38
39#
40# Client-side
41<client>
42<server>
43http
44</server>
45<name>
46HTTP GET chunked data in raw mode
47</name>
48 <command option="no-include">
49http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
50 </command>
51</client>
52
53#
54# Verify data after the test has been "shot"
55<verify>
56<protocol>
57GET /%TESTNUMBER HTTP/1.1
58Host: %HOSTIP:%HTTPPORT
59User-Agent: curl/%VERSION
60Accept: */*
61
62</protocol>
63</verify>
64</testcase>
65