[SERVER] Support gzip encoding instead of deflate.

The `compress` function is copied from httplib
This commit is contained in:
Matthieu Gautier committed 2022-04-27 18:23:38 +02:00
1 parent dc42f831c0
commit 0d294c50a5
5 files changed
+57 -38

No files matched your search

-1
View File
@@ -78,7 +78,6 @@ extern "C" {
#include "response.h"
#define MAX_SEARCH_LEN 140
#define KIWIX_MIN_CONTENT_SIZE_TO_DEFLATE 100
#define DEFAULT_CACHE_SIZE 2
namespace kiwix {