xref: /aosp_15_r20/external/curl/tests/data/test315 (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 brotli 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 WorkerU08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBicg0KQ29udGVudC1MZW5ndGg6IDEwNTYNCg0K
20*6236dae4SAndroid Build Coastguard WorkerAJwFdhtdgaQ8i+mZBoO/lwogPKuqHpeP38jV5TDITTB7/oJVCS69FFDKWDVtMk8y4SfMSu/a9vvL
21*6236dae4SAndroid Build Coastguard WorkerxWPweDCKePH/2y9VIkbF+EgCYSNs9v53J8QTIHT4ZucHCCRQiXRdT6XdE60KSlbIvobr5rJQsRn7
22*6236dae4SAndroid Build Coastguard WorkeripIjMVMq3Go+/UXtY2d0yP1qaaGSxCn8nZuUNGh74KOI7EEkgFl1tjYytkpc9mJJy9J+wTTI+Hro
23*6236dae4SAndroid Build Coastguard WorkerUQP2VR2DYkNoUECqgtOLlGcVEln4+eVzEWcrb8fNrcrVxLArJBpSd8FX8eZs8ebJUO7aBZ5epHz6
24*6236dae4SAndroid Build Coastguard Workerzel7lhLlfHoQIkGh34riaSVr7VTGDmmO6HjSCzKO27LybZ9I3CtMSD2Il4mB131Tlcbut1BdzL4X
25*6236dae4SAndroid Build Coastguard WorkerU4DZYMLBN4jwVZEoHpjzHX+vQ3prnrNw4oB7OWOr/fBzjvfjDuO24WxwzPqPo+V6VNcthz1pfF1+
26*6236dae4SAndroid Build Coastguard WorkersMK4yWY7He33m32EuQgQFSZ3a5Wu4FyQcAb45Z+wUxM5XCmX52YmdUR2YTs+W+bNw2EZSfMRcP3C
27*6236dae4SAndroid Build Coastguard WorkerinyJI/cTT+JubL3T4COkhz0Rffeoh/3E4c/6ugma1ubhokYecXp8HBwmeDL48d62H26u69DOyMhg
28*6236dae4SAndroid Build Coastguard Worker1PFj+oVDWnK4K+L5AlRr0mpJLqoGHrzflMLQ6qL2oIo9hN6qCeZEEqXM+/KunVYpWVeTY+hthA0y
29*6236dae4SAndroid Build Coastguard Worker5p5RLLTTS4cehaJOpbFyAVxZOardIkJAVx0NshOZY4hDbts9BXsXzFEOgsFhrIQYgh04StZzllIR
30*6236dae4SAndroid Build Coastguard WorkerMVDptYlwGmpZCHHmVECdGiFIfEhkQ2INSwMCuuKpaycgSOO9hJA9UFKDBdzTiLJBP9oUVkKLbHjw
31*6236dae4SAndroid Build Coastguard WorkericICCi3k0HcppcvQaW27AMI06kuQU4WUGizgnkaUDcZqCgsotMgG528UFlBo8SFpb05OAjJq2gEI
32*6236dae4SAndroid Build Coastguard Worker0UgN93KS1OvAOYSLN5IaLOCeRnQpJXuLUwcm7urpg6lYxAk26uEoADdsRytHGkSWjOKP6T07wice
33*6236dae4SAndroid Build Coastguard WorkeruNo7CXyu7ohtUZXoEWawRHGVkPDVJYqH+xa0DDRKSSgM4K3efLVPSTaUPvBGIZgnn2JBFFWaMsKZ
34*6236dae4SAndroid Build Coastguard WorkerguUuUnz6qaSGqnmGAYiupdC1EFye58V4CLbWVjJU4NF2jrOUYR/Dv04zYwVQtQcFzgmK6H4NHAhm
35*6236dae4SAndroid Build Coastguard Workerb0a6pQRKxZaZ+x2vCC7sCuIu4dNCATwqzk12ue6oEsxzYybLPNGJd084M43O9W8E+5/drd/FQVB2
36*6236dae4SAndroid Build Coastguard WorkerX4jlFlCuHuWeQxQo+w73Tb9swW692v3BlfQTP1ClWzuJ+RwuSb9m4V3QVa4MEL+0Xzc5FX9P+YX1
37*6236dae4SAndroid Build Coastguard WorkercgaL+6oMHw7L+IOjOt+n1BOloyqk35lLHX7RZmu8SckMnGP95XjWc4FRKP9x/iXrKaeCnut/zsty
38*6236dae4SAndroid Build Coastguard WorkerZdJS5FRmBT/wb5KK9YWBGnqPLO8isN2HS8gA
39*6236dae4SAndroid Build Coastguard Worker</data>
40*6236dae4SAndroid Build Coastguard Worker
41*6236dae4SAndroid Build Coastguard Worker<datacheck>
42*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
43*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 29 Nov 2004 21:56:53 GMT
44*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
45*6236dae4SAndroid Build Coastguard WorkerVary: Accept-Encoding
46*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=ISO-8859-1
47*6236dae4SAndroid Build Coastguard WorkerContent-Encoding: br
48*6236dae4SAndroid Build Coastguard WorkerContent-Length: 1056
49*6236dae4SAndroid Build Coastguard Worker
50*6236dae4SAndroid Build Coastguard Worker</datacheck>
51*6236dae4SAndroid Build Coastguard Worker
52*6236dae4SAndroid Build Coastguard Worker</reply>
53*6236dae4SAndroid Build Coastguard Worker
54*6236dae4SAndroid Build Coastguard Worker#
55*6236dae4SAndroid Build Coastguard Worker# Client-side
56*6236dae4SAndroid Build Coastguard Worker<client>
57*6236dae4SAndroid Build Coastguard Worker<features>
58*6236dae4SAndroid Build Coastguard Workerbrotli
59*6236dae4SAndroid Build Coastguard Worker</features>
60*6236dae4SAndroid Build Coastguard Worker<server>
61*6236dae4SAndroid Build Coastguard Workerhttp
62*6236dae4SAndroid Build Coastguard Worker</server>
63*6236dae4SAndroid Build Coastguard Worker<name>
64*6236dae4SAndroid Build Coastguard WorkerHTTP GET brotli compressed content with broken header
65*6236dae4SAndroid Build Coastguard Worker</name>
66*6236dae4SAndroid Build Coastguard Worker<command>
67*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
68*6236dae4SAndroid Build Coastguard Worker</command>
69*6236dae4SAndroid Build Coastguard Worker</client>
70*6236dae4SAndroid Build Coastguard Worker
71*6236dae4SAndroid Build Coastguard Worker#
72*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
73*6236dae4SAndroid Build Coastguard Worker<verify>
74*6236dae4SAndroid Build Coastguard Worker<strippart>
75*6236dae4SAndroid Build Coastguard Workers/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
76*6236dae4SAndroid Build Coastguard Worker</strippart>
77*6236dae4SAndroid Build Coastguard Worker<protocol>
78*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1
79*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT
80*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
81*6236dae4SAndroid Build Coastguard WorkerAccept: */*
82*6236dae4SAndroid Build Coastguard WorkerAccept-Encoding: xxx
83*6236dae4SAndroid Build Coastguard Worker
84*6236dae4SAndroid Build Coastguard Worker</protocol>
85*6236dae4SAndroid Build Coastguard Worker<errorcode>
86*6236dae4SAndroid Build Coastguard Worker61
87*6236dae4SAndroid Build Coastguard Worker</errorcode>
88*6236dae4SAndroid Build Coastguard Worker</verify>
89*6236dae4SAndroid Build Coastguard Worker</testcase>
90