@cryptotaxi247 / netdata-1 / commits / 9516d99f8

enable also deflate compression

Costa Tsaousis (ktsaou) committed May 21, 2016 at 17:28 UTC 9516d99f82fc7b616b4c27e0734c9ac0f21f6087
1 file changed +1 -1
src/web_client.c
+1 -1
@@ -1229,7 +1229,7 @@ static inline char *http_header_parse(struct web_client *w, char *s) {
1229 }
1230 #ifdef NETDATA_WITH_ZLIB
1231 else if(!strcasecmp(s, "Accept-Encoding")) {
1232 - if(web_enable_gzip && strcasestr(v, "gzip")) {
1232 + if(web_enable_gzip && (strcasestr(v, "gzip") || strcasestr(v, "deflate"))) {
1233 w->enable_gzip = 1;
1234 }
1235 }