Kaynağa Gözat

gzcompress: default encoding header value set to deflate

- it is what UA use for this zlib compression algorithm
Daniel-Constantin Mierla 12 yıl önce
ebeveyn
işleme
d1263e418b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      modules/gzcompress/gzcompress_mod.c

+ 1 - 1
modules/gzcompress/gzcompress_mod.c

@@ -63,7 +63,7 @@ int gzc_msg_sent(void *data);
 
 /** module parameters */
 static str _gzc_hdr_name = str_init("Content-Encoding");
-static str _gzc_hdr_value = str_init("gzip");
+static str _gzc_hdr_value = str_init("deflate");
 
 static int _gzc_sanity_checks = 0;
 static sanity_api_t scb = {0};