X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=c43aa1abfa3cd3a013a368359f4e369dcf573227;hp=f02aa18ff91c500e1477809f616767ba10c79ab8;hb=419ba9235752d56f15b393fc7969316978c6c721;hpb=11ab01d7187d849bff12366a11174df582ce9657 diff --git a/http_request_api.c b/http_request_api.c index f02aa18..c43aa1a 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -468,7 +468,7 @@ PHP_HTTP_API STATUS _http_request_init(CURL *ch, http_request_method meth, char /* compress, empty string enables all supported if libcurl was build with zlib support */ if ((zoption = http_curl_getopt(options, "compress", IS_BOOL)) && Z_LVAL_P(zoption)) { #if defined(HTTP_HAVE_ZLIB) || defined(HAVE_ZLIB) - HTTP_CURL_OPT(ENCODING, "gzip;q=1.0, deflate;q=0.5, *;q=0"); + HTTP_CURL_OPT(ENCODING, "gzip;q=1.0, deflate;q=0.5, *;q=0.1"); #else HTTP_CURL_OPT(ENCODING, ""); #endif