xref: /aosp_15_r20/external/curl/tests/data/test1171 (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 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 WorkerSFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
15*6236dae4SAndroid Build Coastguard WorkerdmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
16*6236dae4SAndroid Build Coastguard WorkerUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
17*6236dae4SAndroid Build Coastguard WorkerVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
18*6236dae4SAndroid Build Coastguard WorkerU08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcCwgY2h1bmtlZA0KDQoyYw0KH4sICHme
19*6236dae4SAndroid Build Coastguard Workerq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAANCjANCg0K
20*6236dae4SAndroid Build Coastguard Worker</data>
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Worker<datacheck>
23*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
24*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT
25*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
26*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding
27*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1
28*6236dae4SAndroid Build Coastguard WorkerTransfer-Encoding: gzip, chunked
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 transfer-encoding with blanked Connection:
48*6236dae4SAndroid Build Coastguard Worker</name>
49*6236dae4SAndroid Build Coastguard Worker<command>
50*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection;"
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<protocol>
58*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1
59*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT
60*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
61*6236dae4SAndroid Build Coastguard WorkerAccept: */*
62*6236dae4SAndroid Build Coastguard WorkerConnection: TE
63*6236dae4SAndroid Build Coastguard WorkerTE: gzip
64*6236dae4SAndroid Build Coastguard Worker
65*6236dae4SAndroid Build Coastguard Worker</protocol>
66*6236dae4SAndroid Build Coastguard Worker</verify>
67*6236dae4SAndroid Build Coastguard Worker</testcase>
68