xref: /aosp_15_r20/external/curl/tests/data/test223 (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 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# this deflate chunk has three bytes removed from the beginning
14*6236dae4SAndroid Build Coastguard Worker<data base64="yes">
15*6236dae4SAndroid Build Coastguard WorkerSFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
16*6236dae4SAndroid Build Coastguard WorkerdmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
17*6236dae4SAndroid Build Coastguard WorkerUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
18*6236dae4SAndroid Build Coastguard WorkerVmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
19*6236dae4SAndroid Build Coastguard WorkerU08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBkZWZsYXRlDQpDb250ZW50LUxlbmd0aDogMTMw
20*6236dae4SAndroid Build Coastguard WorkerNQ0KDQpY227jNhB9N5B/YP3UArZuthM5cLQoctkEzTbB2gW6TwYt0TYbSRRIyrk89Ns7lCiJsRyv
21*6236dae4SAndroid Build Coastguard Workerd4O+BEhicuacw+EMSZOZfHpKYrQhXFCWnnVdy+kikoYsounqrHszvev7/mjcd7ufgs7kl4u789m3
22*6236dae4SAndroid Build Coastguard Worker+0uUcfYPCWU/pkICEE2/TWeXX1B3LWV2attLTsQ6IVhaKZH2AocPJI3sZdLXPNF3rKEVyagLolta
23*6236dae4SAndroid Build Coastguard WorkerQQehyqbaTW9Oo8A9dr2JbRhKRIQlmeMoIoAYj/2+4/c9FznDU8c99cYT2/AbhDxTH1HgOc6w7zp9
24*6236dae4SAndroid Build Coastguard Worker10eOd+rBz0BTKsSrOFKckLlYMy6DMOdxHY5hb+OXeRwXcITTCMV00aYWEB0eEaGWOmdJUlJSgiRj
25*6236dae4SAndroid Build Coastguard WorkertQDH/BktGUdhTEkq+4JGBP319RZJjlOxhIpaMItGyFDeGQyiAuFyBKVaqXBV3yWNiTjq5EJ11Bji
26*6236dae4SAndroid Build Coastguard WorkerOZX4yUI3Eok8y0BfoOvZ7L5X/J320BW0jzpXRfvi5nzWQ7PL2z8v4fP24neAXd3cXvaK4T/f3V9f
27*6236dae4SAndroid Build Coastguard WorkerfoU2DPBIYoiplOpnTMiebubQChl7oEQU2ijPYoYjGAKWWp6QqJl1D2VYiEfGI9WEyNI8WRT26fT2
28*6236dae4SAndroid Build Coastguard WorkerqBMSLumShlBXMP1BOPiYKEOBajzBCMW0IBsZeyScREedxXOVpB6Sa/JmxquyWEed2RqoCMPvgqZq
29*6236dae4SAndroid Build Coastguard WorkerMwlIbZ1qlWAGmw55zlEnxukqxysiihhIuqGcpQkMIEBHl9BYGxsqcUzl81yEjJNgdOIPrdHJxN6y
30*6236dae4SAndroid Build Coastguard Workerb4EzwkOQDAaWe2xgK/MWGubzAHttbCALk17XLMtjzJuxjkdjiGEIy3nb0yJUA7oDy3dfEV6HYjjK
31*6236dae4SAndroid Build Coastguard WorkerYJzRK7QRDsfFueFbI2di647pmYcsB13Prbza8ApTDuIPaowxgMgXIuQ0k3BEimCgTofXphIGpU/D
32*6236dae4SAndroid Build Coastguard Worker9Vzt5eCCLHEey4ltGksY1H9eHWAZlD3YeWhWJ6Wt1os9sVusRmzNEvK2ECxgyksVdXjaJkPr1gKN
33*6236dae4SAndroid Build Coastguard Workerply9HC4HYK2kaI3I4sU7XATAWkTRGpEXmh0uAmAtomiNSLiGPUZitjpcqqZowUaikeVZcrgggLWU
34*6236dae4SAndroid Build Coastguard WorkerojUiEVkcLgJgLaJojQgTT4eLAFiLKJpRLxGp8/IHalYSqrppurHMcw5pEyTQ67fqGoXZiB8oyUZU
35*6236dae4SAndroid Build Coastguard WorkerxdgIQ0TdHA5XUWgtUxAbnYRyzvjhSiVea2myWdeEBVWtoFl6YgqHHKTgy83M/hudw+kBKaN5gm5L
36*6236dae4SAndroid Build Coastguard Workerx8SuEBqvvqfknJOY1Jlrmef6/hacWK5nwQXpDfcbbHWvOjl2/FGLWF2w2hx1L9p9cdoFLOdi75rM
37*6236dae4SAndroid Build Coastguard WorkerBM5RAhNeMzmXa/iqhpy1TCUS5xJuMqIOqexX3dqgT2CcUhKjqSQpfMOvJrbpbFGgSrvr/u8CryKi
38*6236dae4SAndroid Build Coastguard WorkerimwgW3TOYhLcPaaE17jCVEVqm6FWvWoJqy94ThOaYmnOTnK4IRS1gYLWnZbX8473uQd7ufucru/v
39*6236dae4SAndroid Build Coastguard Worker5bp7x4WlsT/qvW73eLjPPd5L9sd7vc5etzv6TtzfCWx/ZIPW2OX9brv8sCYyeDLBQwyuo7VObXxG
40*6236dae4SAndroid Build Coastguard Worker8jkjZ11OQngdKJt6SdWLssGZG9lRQ+1y7CTqewu4T4aqGDtdO5nG46xF3X64vcWVVKoNBXa4s6Nf
41*6236dae4SAndroid Build Coastguard Worker9W3qt51aJbbeaQ3i7byx4t6G4/8vac5PZ2w4eGfG1Pvq4yfK9QYj9x2ZeoGn2MfP0sBzhifvyNI1
42*6236dae4SAndroid Build Coastguard WorkeroUmE44+fqOFwNPDekaiwD0998TN5Miz6rK//KxR0/gMAAP//gjMRo2MAAAAA//8DAN04jtE=
43*6236dae4SAndroid Build Coastguard Worker</data>
44*6236dae4SAndroid Build Coastguard Worker
45*6236dae4SAndroid Build Coastguard Worker<datacheck>
46*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
47*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT
48*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
49*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding
50*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1
51*6236dae4SAndroid Build Coastguard WorkerContent-Encoding: deflate
52*6236dae4SAndroid Build Coastguard WorkerContent-Length: 1305
53*6236dae4SAndroid Build Coastguard Worker
54*6236dae4SAndroid Build Coastguard Worker</datacheck>
55*6236dae4SAndroid Build Coastguard Worker
56*6236dae4SAndroid Build Coastguard Worker</reply>
57*6236dae4SAndroid Build Coastguard Worker
58*6236dae4SAndroid Build Coastguard Worker#
59*6236dae4SAndroid Build Coastguard Worker# Client-side
60*6236dae4SAndroid Build Coastguard Worker<client>
61*6236dae4SAndroid Build Coastguard Worker<features>
62*6236dae4SAndroid Build Coastguard Workerlibz
63*6236dae4SAndroid Build Coastguard Worker</features>
64*6236dae4SAndroid Build Coastguard Worker<server>
65*6236dae4SAndroid Build Coastguard Workerhttp
66*6236dae4SAndroid Build Coastguard Worker</server>
67*6236dae4SAndroid Build Coastguard Worker<name>
68*6236dae4SAndroid Build Coastguard WorkerHTTP GET deflate compressed content with broken deflate header
69*6236dae4SAndroid Build Coastguard Worker</name>
70*6236dae4SAndroid Build Coastguard Worker<command>
71*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
72*6236dae4SAndroid Build Coastguard Worker</command>
73*6236dae4SAndroid Build Coastguard Worker</client>
74*6236dae4SAndroid Build Coastguard Worker
75*6236dae4SAndroid Build Coastguard Worker#
76*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
77*6236dae4SAndroid Build Coastguard Worker<verify>
78*6236dae4SAndroid Build Coastguard Worker<strippart>
79*6236dae4SAndroid Build Coastguard Workers/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
80*6236dae4SAndroid Build Coastguard Worker</strippart>
81*6236dae4SAndroid Build Coastguard Worker<protocol>
82*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1
83*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT
84*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
85*6236dae4SAndroid Build Coastguard WorkerAccept: */*
86*6236dae4SAndroid Build Coastguard WorkerAccept-Encoding: xxx
87*6236dae4SAndroid Build Coastguard Worker
88*6236dae4SAndroid Build Coastguard Worker</protocol>
89*6236dae4SAndroid Build Coastguard Worker<errorcode>
90*6236dae4SAndroid Build Coastguard Worker61
91*6236dae4SAndroid Build Coastguard Worker</errorcode>
92*6236dae4SAndroid Build Coastguard Worker</verify>
93*6236dae4SAndroid Build Coastguard Worker</testcase>
94