aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-10-17 14:33:45 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-10-17 14:33:45 +0100
commit973c12585f0e73f3413163758f8fe960be373cb0 (patch)
treeb5c97d8637ea0f68f64c032a7cc7f7042b69c76e /src/client
parent28302c84ef7c9ecdb4845b445d5ebba4c1ef204f (diff)
downloadrspamd-973c12585f0e73f3413163758f8fe960be373cb0.tar.gz
rspamd-973c12585f0e73f3413163758f8fe960be373cb0.zip
[Rework] Allow `Content-Encoding` standard header for zstd compressionvstakhov-zstd-headers
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamdclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/rspamdclient.c b/src/client/rspamdclient.c
index bcb3cf67c..d07b24332 100644
--- a/src/client/rspamdclient.c
+++ b/src/client/rspamdclient.c
@@ -441,6 +441,7 @@ rspamd_client_command(struct rspamd_client_connection *conn,
if (compressed) {
rspamd_http_message_add_header(req->msg, COMPRESSION_HEADER, "zstd");
+ rspamd_http_message_add_header(req->msg, CONTENT_ENCODING_HEADER, "zstd");
if (dict_id != 0) {
char dict_str[32];