imjoey commented on a change in pull request #4151:
URL: https://github.com/apache/apisix/pull/4151#discussion_r622802493
##########
File path: apisix/plugins/response-rewrite.lua
##########
@@ -124,7 +127,7 @@ function _M.body_filter(conf, ctx)
return
end
- if conf.body then
+ if conf.body and #conf.body > 0 then
Review comment:
@spacewander yes, this additional check is indeed redundant. Done. Thank
you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]