aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-18 16:10:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-18 16:10:04 +0100
commitaf204fee67890fd8e1043042f94ce2e9b9205bc6 (patch)
tree0dc3b907c61b95fddeb112bf943adb639715e32e /src/libserver/protocol.c
parentaac1013122301ec3a6bb39264d90627c6c245518 (diff)
downloadrspamd-af204fee67890fd8e1043042f94ce2e9b9205bc6.tar.gz
rspamd-af204fee67890fd8e1043042f94ce2e9b9205bc6.zip
[Project] Add message block support to the client
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index e8bbd979b..dd840284a 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -1661,7 +1661,7 @@ rspamd_protocol_http_reply (struct rspamd_http_message *msg,
compressed_reply->len = zout.pos;
rspamd_fstring_free (reply);
rspamd_http_message_set_body_from_fstring_steal (msg, compressed_reply);
- rspamd_http_message_add_header (msg, "Compression", "zstd");
+ rspamd_http_message_add_header (msg, COMPRESSION_HEADER, "zstd");
if (task->cfg->libs_ctx->out_dict &&
task->cfg->libs_ctx->out_dict->id != 0) {