diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-28 10:54:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-28 10:54:38 +0100 |
commit | f33409506063a738a713e9c7ae231786dc73c4d7 (patch) | |
tree | 0a683875412412090b31bbf52944600546e70d79 /src/plugins | |
parent | c052ad8f8cf8b15c75f59d6ca82e51f640006257 (diff) | |
download | rspamd-f33409506063a738a713e9c7ae231786dc73c4d7.tar.gz rspamd-f33409506063a738a713e9c7ae231786dc73c4d7.zip |
[Minor] Also use gzip compression
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/gpt.lua | 1 |
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) |