Firstsawyou commented on a change in pull request #3556:
URL: https://github.com/apache/apisix/pull/3556#discussion_r579087672
##########
File path: apisix/plugins/proxy-rewrite.lua
##########
@@ -178,6 +183,28 @@ function _M.rewrite(conf, ctx)
ctx.var.upstream_uri = upstream_uri
end
+ -- enum = {"GET", "POST","PUT","DELETE"}
+ -- change Http method
+ if conf.method ~=nil then
Review comment:
Hi, @54corbin
`tokers` mean: `if conf.method ~=nil then` needs to be changed to `f
conf.method ~= nil then`.
----------------------------------------------------------------
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]