You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get pkgHTTP.Request in ResponseFilter method. I have modified the HTTPRespCall method in apisix-go-plugin-runner/internal/plugin/plugin.go as follows:
een in the nginx documentation.nginx 变量列表可以在 nginx 文档中查看。
@zxyao145 Just use res.Var("") to get the request data.
Example: method, err := res.Var("request_method")
List of nginx variables can be seen in the nginx documentation.
Thanks a lot! I am glad to receive your reply. Recently, I have been busy with other things and do not have time to do work related to Apisix. If there are any conclusions, I will synchronize again.
Issue description
I am trying to get pkgHTTP.Request in ResponseFilter method. I have modified the
HTTPRespCall
method inapisix-go-plugin-runner/internal/plugin/plugin.go
as follows:But I found that all the properties I received was empty. How should I handle it?
If this modification is completed, I am willing to submit a PR.
Environment
uname -a
): debianThe text was updated successfully, but these errors were encountered: