xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | compressed |
| 7 | Transfer-Encoding |
| 8 | </keywords> |
| 9 | </info> |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data base64="yes"> |
| 14 | SFRUUC8xLjEgMjAwIE9LIHN3c2Nsb3NlDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUz |
| 15 | IEdNVA0KU2VydmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8x |
| 16 | LjMuMjYuMWEgUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3Bl |
| 17 | cmwvMS4yOQ0KQ29udGVudC1UeXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNPLTg4NTktMQ0KVHJh |
| 18 | bnNmZXItRW5jb2Rpbmc6IGd6aXANCkNvbnRlbnQtTGVuZ3RoOiA0NA0KDQofiwgIeZ6rQQADbGFs |
| 19 | YWxhAMvJzEtVMORSyAHRRlwKEIYxFwAKAnFgGAAAAA== |
| 20 | </data> |
| 21 | |
| 22 | <datacheck base64="yes"> |
| 23 | H4sICHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA= |
| 24 | </datacheck> |
| 25 | |
| 26 | </reply> |
| 27 | |
| 28 | # |
| 29 | # Client-side |
| 30 | <client> |
| 31 | <features> |
| 32 | libz |
| 33 | </features> |
| 34 | <server> |
| 35 | http |
| 36 | </server> |
| 37 | <name> |
| 38 | HTTP GET gzip transfer-encoded data in raw mode |
| 39 | </name> |
| 40 | <command option="no-include"> |
| 41 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw |
| 42 | </command> |
| 43 | </client> |
| 44 | |
| 45 | # |
| 46 | # Verify data after the test has been "shot" |
| 47 | <verify> |
| 48 | <protocol> |
| 49 | GET /%TESTNUMBER HTTP/1.1
|
| 50 | Host: %HOSTIP:%HTTPPORT
|
| 51 | User-Agent: curl/%VERSION
|
| 52 | Accept: */*
|
| 53 |
|
| 54 | </protocol> |
| 55 | </verify> |
| 56 | </testcase> |