qwzhou89 commented on issue #9928:
URL: https://github.com/apache/apisix/issues/9928#issuecomment-1660288804
> I've tried `ngx.var.*` and `ngx.ctx.*` to share info from 1st to 2nd
plugin and that didn't work.
You can refer this
```lua
local body = core.response.hold_body_chunk(ctx)
if not body then
return
end
```
https://github.com/apache/apisix/blob/f832ea2502ce2696b0e7390a1572ab7000fef344/apisix/plugins/response-rewrite.lua#L186C9-L186C9
--
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]