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



##########
File path: t/lib/server.lua
##########
@@ -76,6 +76,7 @@ function _M.plugin_proxy_rewrite()
     ngx.say("uri: ", ngx.var.uri)
     ngx.say("host: ", ngx.var.host)
     ngx.say("scheme: ", ngx.var.scheme)
+    ngx.say("method: ", ngx.req.get_method())

Review comment:
       ```suggestion
       ngx.log(ngx.WARN, "plugin_proxy_rewrite get method: ", 
ngx.req.get_method())
   ```
   
   We can use a log so the other tests won't fail because the response body is 
changed.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to