Skip to content

Commit

Permalink
fix(llm): fix gzip handling when using multiple AI plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Jan 21, 2025
1 parent 576cdc8 commit 53d0703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function _M:run(_)
else
kong.response.clear_header("Content-Encoding")
end
else
elseif not get_global_ctx("response_body_sent") then
kong.response.clear_header("Content-Encoding")
end
return true
Expand Down

0 comments on commit 53d0703

Please sign in to comment.