1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6compressed 7Transfer-Encoding 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data base64="yes"> 14SFRUUC8xLjEgMjAwIE9LIHN3c2Nsb3NlDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUz 15IEdNVA0KU2VydmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8x 16LjMuMjYuMWEgUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3Bl 17cmwvMS4yOQ0KVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsg 18Y2hhcnNldD1JU08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcA0KQ29udGVudC1MZW5n 19dGg6IDQ0DQoNCh+LCAh5nqtBAANsYWxhbGEAy8nMS1Uw5FLIAdFGXAoQhjEXAAoCcWAYAAAA 20</data> 21 22# This ignore Content-Length 23<datacheck> 24HTTP/1.1 200 OK swsclose 25Date: Mon, 29 Nov 2004 21:56:53 GMT 26Server: 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 27Vary: Accept-Encoding 28Content-Type: text/html; charset=ISO-8859-1 29Transfer-Encoding: gzip 30Content-Length: 44 31 32line 1 33 line 2 34 line 3 35</datacheck> 36 37</reply> 38 39# 40# Client-side 41<client> 42<features> 43libz 44</features> 45<server> 46http 47</server> 48<name> 49HTTP GET gzip transfer-encoded content 50</name> 51<command> 52http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding 53</command> 54</client> 55 56# 57# Verify data after the test has been "shot" 58<verify> 59<protocol> 60GET /%TESTNUMBER HTTP/1.1 61Host: %HOSTIP:%HTTPPORT 62User-Agent: curl/%VERSION 63Accept: */* 64Connection: TE 65TE: gzip 66 67</protocol> 68</verify> 69</testcase> 70