nic-chen commented on issue #3383:
URL: https://github.com/apache/apisix/issues/3383#issuecomment-764739359
In theory, you could use any variable that exists and can be accessed here.
But we recommend using `code` which returned by the plugin phase functions.
--
nic-chen commented on issue #3383:
URL: https://github.com/apache/apisix/issues/3383#issuecomment-765059098
@jaredhuang
here is an example(rewrite phase function of `basic-suth`):
https://github.com/apache/apisix/blob/master/apisix/plugins/basic-auth.lua#L128-L169
and `code`
nic-chen commented on issue #3383:
URL: https://github.com/apache/apisix/issues/3383#issuecomment-764739359
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use t