1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard WorkerHTTP GET 6*6236dae4SAndroid Build Coastguard Workercompressed 7*6236dae4SAndroid Build Coastguard WorkerTransfer-Encoding 8*6236dae4SAndroid Build Coastguard Worker</keywords> 9*6236dae4SAndroid Build Coastguard Worker</info> 10*6236dae4SAndroid Build Coastguard Worker# 11*6236dae4SAndroid Build Coastguard Worker# Server-side 12*6236dae4SAndroid Build Coastguard Worker<reply> 13*6236dae4SAndroid Build Coastguard Worker<data base64="yes"> 14*6236dae4SAndroid Build Coastguard WorkerSFRUUC8xLjEgMjAwIE9LIHN3c2Nsb3NlDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUz 15*6236dae4SAndroid Build Coastguard WorkerIEdNVA0KU2VydmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8x 16*6236dae4SAndroid Build Coastguard WorkerLjMuMjYuMWEgUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3Bl 17*6236dae4SAndroid Build Coastguard WorkercmwvMS4yOQ0KVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsg 18*6236dae4SAndroid Build Coastguard WorkerY2hhcnNldD1JU08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcA0KQ29udGVudC1MZW5n 19*6236dae4SAndroid Build Coastguard WorkerdGg6IDQ0DQoNCh+LCAh5nqtBAANsYWxhbGEAy8nMS1Uw5FLIAdFGXAoQhjEXAAoCcWAYAAAA 20*6236dae4SAndroid Build Coastguard Worker</data> 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard Worker# This ignore Content-Length 23*6236dae4SAndroid Build Coastguard Worker<datacheck> 24*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK swsclose 25*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT 26*6236dae4SAndroid Build Coastguard WorkerServer: 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 27*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding 28*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1 29*6236dae4SAndroid Build Coastguard WorkerTransfer-Encoding: gzip 30*6236dae4SAndroid Build Coastguard WorkerContent-Length: 44 31*6236dae4SAndroid Build Coastguard Worker 32*6236dae4SAndroid Build Coastguard Workerline 1 33*6236dae4SAndroid Build Coastguard Worker line 2 34*6236dae4SAndroid Build Coastguard Worker line 3 35*6236dae4SAndroid Build Coastguard Worker</datacheck> 36*6236dae4SAndroid Build Coastguard Worker 37*6236dae4SAndroid Build Coastguard Worker</reply> 38*6236dae4SAndroid Build Coastguard Worker 39*6236dae4SAndroid Build Coastguard Worker# 40*6236dae4SAndroid Build Coastguard Worker# Client-side 41*6236dae4SAndroid Build Coastguard Worker<client> 42*6236dae4SAndroid Build Coastguard Worker<features> 43*6236dae4SAndroid Build Coastguard Workerlibz 44*6236dae4SAndroid Build Coastguard Worker</features> 45*6236dae4SAndroid Build Coastguard Worker<server> 46*6236dae4SAndroid Build Coastguard Workerhttp 47*6236dae4SAndroid Build Coastguard Worker</server> 48*6236dae4SAndroid Build Coastguard Worker<name> 49*6236dae4SAndroid Build Coastguard WorkerHTTP GET gzip transfer-encoded content 50*6236dae4SAndroid Build Coastguard Worker</name> 51*6236dae4SAndroid Build Coastguard Worker<command> 52*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding 53*6236dae4SAndroid Build Coastguard Worker</command> 54*6236dae4SAndroid Build Coastguard Worker</client> 55*6236dae4SAndroid Build Coastguard Worker 56*6236dae4SAndroid Build Coastguard Worker# 57*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 58*6236dae4SAndroid Build Coastguard Worker<verify> 59*6236dae4SAndroid Build Coastguard Worker<protocol> 60*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1 61*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT 62*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 63*6236dae4SAndroid Build Coastguard WorkerAccept: */* 64*6236dae4SAndroid Build Coastguard WorkerConnection: TE 65*6236dae4SAndroid Build Coastguard WorkerTE: gzip 66*6236dae4SAndroid Build Coastguard Worker 67*6236dae4SAndroid Build Coastguard Worker</protocol> 68*6236dae4SAndroid Build Coastguard Worker</verify> 69*6236dae4SAndroid Build Coastguard Worker</testcase> 70