xref: /aosp_15_r20/external/curl/tests/data/test220 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
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 Worker</keywords>
8*6236dae4SAndroid Build Coastguard Worker</info>
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker<data base64="yes">
13*6236dae4SAndroid Build Coastguard WorkerSFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
14*6236dae4SAndroid Build Coastguard WorkerdmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
15*6236dae4SAndroid Build Coastguard WorkerUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
16*6236dae4SAndroid Build Coastguard WorkerVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
17*6236dae4SAndroid Build Coastguard WorkerU08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBHWklQDQpDb250ZW50LUxlbmd0aDogNDQNCg0K
18*6236dae4SAndroid Build Coastguard WorkerH4sICHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA=
19*6236dae4SAndroid Build Coastguard Worker</data>
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard Worker<datacheck>
22*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
23*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT
24*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
25*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding
26*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1
27*6236dae4SAndroid Build Coastguard WorkerContent-Encoding: GZIP
28*6236dae4SAndroid Build Coastguard WorkerContent-Length: 44
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard Workerline 1
31*6236dae4SAndroid Build Coastguard Worker line 2
32*6236dae4SAndroid Build Coastguard Worker  line 3
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
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</verify>
69*6236dae4SAndroid Build Coastguard Worker</testcase>
70