diff options
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 383d89c14..75836573f 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -57,6 +57,7 @@ #include "contrib/libev/ev.h" #include "libstat/stat_api.h" +#include "libserver/protocol_internal.h" struct rspamd_worker *rspamd_current_worker = NULL; @@ -600,7 +601,7 @@ rspamd_controller_maybe_compress(struct rspamd_http_connection_entry *entry, { if (entry->support_gzip) { if (rspamd_fstring_gzip(&buf)) { - rspamd_http_message_add_header(msg, "Content-Encoding", "gzip"); + rspamd_http_message_add_header(msg, CONTENT_ENCODING_HEADER, "gzip"); } } |