spacewander commented on a change in pull request #4151:
URL: https://github.com/apache/apisix/pull/4151#discussion_r622694680



##########
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:
       Do we need the check here? We already check it in `check_schema`.




-- 
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]


Reply via email to