HTTP HTTP GET compressed # # Server-side # Length of not-encoded content is 16512 what is greater than default value of # CURL_MAX_WRITE_SIZE (16384) HTTP/1.1 200 OK Date: Mon, 29 Nov 2004 21:56:53 GMT Server: 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 Vary: Accept-Encoding Content-Type: text/html; charset=ISO-8859-1 Content-Encoding: br Content-Length: 31 %hex[%1b%7f%40%00%64%f1%98%cf%28%1a%eb%af%c7%12%ac%41%ab%42%62%51%f3%c8%ea%d9%7b%9f%dc%1b%00%48%00%0a]hex% HTTP/1.1 200 OK Date: Mon, 29 Nov 2004 21:56:53 GMT Server: 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 Vary: Accept-Encoding Content-Type: text/html; charset=ISO-8859-1 Content-Encoding: br Content-Length: 31 %repeat[128 x 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF%0a]% # # Client-side brotli http HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE 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/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Accept-Encoding: xxx