tokers commented on a change in pull request #4151:
URL: https://github.com/apache/apisix/pull/4151#discussion_r622015747
##########
File path: t/plugin/response-rewrite.t
##########
@@ -629,3 +629,50 @@ hello world
200
--- no_error_log
[error]
+
+
+
+=== TEST 22: set an empty body with setting body_base64 to true
+--- config
+ location /t {
+ content_by_lua_block {
+ local plugin = require("apisix.plugins.response-rewrite")
+ local ok, err = plugin.check_schema({
+ body = "",
+ body_base64 = true
Review comment:
```suggestion
body_base64 = true
```
--
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]