xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | <features> |
| 43 | !hyper |
| 44 | </features> |
| 45 | <server> |
| 46 | http |
| 47 | </server> |
| 48 | <name> |
| 49 | HTTP GET chunked data in raw mode |
| 50 | </name> |
| 51 | <command option="no-include"> |
| 52 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw |
| 53 | </command> |
| 54 | </client> |
| 55 | |
| 56 | # |
| 57 | # Verify data after the test has been "shot" |
| 58 | <verify> |
| 59 | <protocol> |
| 60 | GET /%TESTNUMBER HTTP/1.1
|
| 61 | Host: %HOSTIP:%HTTPPORT
|
| 62 | User-Agent: curl/%VERSION
|
| 63 | Accept: */*
|
| 64 |
|
| 65 | </protocol> |
| 66 | </verify> |
| 67 | </testcase> |