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 WorkerFAILURE 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 WorkerSFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy 15*6236dae4SAndroid Build Coastguard WorkerdmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg 16*6236dae4SAndroid Build Coastguard WorkerUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K 17*6236dae4SAndroid Build Coastguard WorkerVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J 18*6236dae4SAndroid Build Coastguard WorkerU08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBnemlwDQpDb250ZW50LUxlbmd0aDogNDENCg0K 19*6236dae4SAndroid Build Coastguard WorkerCHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA= 20*6236dae4SAndroid Build Coastguard Worker</data> 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard Worker# I removed the first three bytes of the gzip compressed contents 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard Worker<datacheck> 25*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK 26*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT 27*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 28*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding 29*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1 30*6236dae4SAndroid Build Coastguard WorkerContent-Encoding: gzip 31*6236dae4SAndroid Build Coastguard WorkerContent-Length: 41 32*6236dae4SAndroid Build Coastguard Worker 33*6236dae4SAndroid Build Coastguard Worker</datacheck> 34*6236dae4SAndroid Build Coastguard Worker 35*6236dae4SAndroid Build Coastguard Worker</reply> 36*6236dae4SAndroid Build Coastguard Worker 37*6236dae4SAndroid Build Coastguard Worker# 38*6236dae4SAndroid Build Coastguard Worker# Client-side 39*6236dae4SAndroid Build Coastguard Worker<client> 40*6236dae4SAndroid Build Coastguard Worker<features> 41*6236dae4SAndroid Build Coastguard Workerlibz 42*6236dae4SAndroid Build Coastguard Worker</features> 43*6236dae4SAndroid Build Coastguard Worker<server> 44*6236dae4SAndroid Build Coastguard Workerhttp 45*6236dae4SAndroid Build Coastguard Worker</server> 46*6236dae4SAndroid Build Coastguard Worker<name> 47*6236dae4SAndroid Build Coastguard WorkerHTTP GET gzip compressed content with broken gzip header 48*6236dae4SAndroid Build Coastguard Worker</name> 49*6236dae4SAndroid Build Coastguard Worker<command> 50*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed 51*6236dae4SAndroid Build Coastguard Worker</command> 52*6236dae4SAndroid Build Coastguard Worker</client> 53*6236dae4SAndroid Build Coastguard Worker 54*6236dae4SAndroid Build Coastguard Worker# 55*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 56*6236dae4SAndroid Build Coastguard Worker<verify> 57*6236dae4SAndroid Build Coastguard Worker<strippart> 58*6236dae4SAndroid Build Coastguard Workers/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/ 59*6236dae4SAndroid Build Coastguard Worker</strippart> 60*6236dae4SAndroid Build Coastguard Worker<protocol> 61*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1 62*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT 63*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 64*6236dae4SAndroid Build Coastguard WorkerAccept: */* 65*6236dae4SAndroid Build Coastguard WorkerAccept-Encoding: xxx 66*6236dae4SAndroid Build Coastguard Worker 67*6236dae4SAndroid Build Coastguard Worker</protocol> 68*6236dae4SAndroid Build Coastguard Worker<errorcode> 69*6236dae4SAndroid Build Coastguard Worker61 70*6236dae4SAndroid Build Coastguard Worker</errorcode> 71*6236dae4SAndroid Build Coastguard Worker</verify> 72*6236dae4SAndroid Build Coastguard Worker</testcase> 73