• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/326 --raw
50 </command>
51</client>
52
53#
54# Verify data after the test has been "shot"
55<verify>
56<strip>
57^User-Agent:.*
58</strip>
59<protocol>
60GET /326 HTTP/1.1
61Host: %HOSTIP:%HTTPPORT
62Accept: */*
63
64</protocol>
65</verify>
66</testcase>
67