aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-28 10:54:38 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-28 10:54:38 +0100
commitf33409506063a738a713e9c7ae231786dc73c4d7 (patch)
tree0a683875412412090b31bbf52944600546e70d79 /src/plugins
parentc052ad8f8cf8b15c75f59d6ca82e51f640006257 (diff)
downloadrspamd-f33409506063a738a713e9c7ae231786dc73c4d7.tar.gz
rspamd-f33409506063a738a713e9c7ae231786dc73c4d7.zip
[Minor] Also use gzip compression
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/gpt.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua
index ec2e05a33..01d1c94b4 100644
--- a/src/plugins/lua/gpt.lua
+++ b/src/plugins/lua/gpt.lua
@@ -198,6 +198,7 @@ local function openai_gpt_check(task)
body = ucl.to_format(body, 'json-compact', true),
task = task,
upstream = upstream,
+ use_gzip = true,
}
rspamd_http.request(http_params)