From f33409506063a738a713e9c7ae231786dc73c4d7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 28 Jun 2024 10:54:38 +0100 Subject: [PATCH] [Minor] Also use gzip compression --- src/plugins/lua/gpt.lua | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5