From 11bf1796cd015373a996e6eb26212e2e1aadb066 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sun, 5 Nov 2017 15:28:16 +0100 Subject: HTTP: implement Brotli content encoding This uses the brotli external library (https://github.com/google/brotli). Brotli becomes a feature: additional curl_version_info() bit and structure fields are provided for it and CURLVERSION_NOW bumped. Tests 314 and 315 check Brotli content unencoding with correct and erroneous data. Some tests are updated to accomodate with the now configuration dependent parameters of the Accept-Encoding header. --- tests/data/test220 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/data/test220') diff --git a/tests/data/test220 b/tests/data/test220 index 2fb0b8a6a..7fd264345 100644 --- a/tests/data/test220 +++ b/tests/data/test220 @@ -57,11 +57,14 @@ http://%HOSTIP:%HTTPPORT/220 --compressed ^User-Agent:.* + +s/^Accept-Encoding: .*/Accept-Encoding: xxx/ + GET /220 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Accept-Encoding: deflate, gzip +Accept-Encoding: xxx -- cgit v1.2.3