1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 </keywords> 7 </info> 8 # 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.1 200 OK 13 Date: Mon, 29 Nov 2004 21:56:53 GMT 14 Server: 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 15 Content-Type: text/html; charset=ISO-8859-1 16 Transfer-Encoding: chunked 17 18 18 19 line 1 20 line 2 21 line 3 22 23 0 24 25 </data> 26 27 <datacheck> 28 18 29 line 1 30 line 2 31 line 3 32 33 0 34 35 </datacheck> 36 37 </reply> 38 39 # 40 # Client-side 41 <client> 42 <server> 43 http 44 </server> 45 <name> 46 HTTP GET chunked data in raw mode 47 </name> 48 <command option="no-include"> 49 http://%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> 60 GET /326 HTTP/1.1 61 Host: %HOSTIP:%HTTPPORT 62 Accept: */* 63 64 </protocol> 65 </verify> 66 </testcase> 67