You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/30 05:32:47 UTC

[GitHub] [apisix] dargoner opened a new issue, #7575: feat:ext-plugin-post-resp plugin need get original response body information

dargoner opened a new issue, #7575:
URL: https://github.com/apache/apisix/issues/7575

   ### Description
   
   Add Java runner postfilter to "ext-plugin-post-resp". We need to get the original response information (response header and response body), and perform field interception, unified formatting, encryption or signature processing. At present, it seems that there is no way to get this response body information (response header can be obtained). Do you have any plan?
   
   The implementation logic of the Lua version of "rewrite response plugin" is now too simple to consider complex response information processing. Can you add a remote call or custom logic to process the response and then return?


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] soulbird closed issue #7575: feat:ext-plugin-post-resp plugin need get original response body information

Posted by "soulbird (via GitHub)" <gi...@apache.org>.
soulbird closed issue #7575: feat:ext-plugin-post-resp  plugin need get original response body information
URL: https://github.com/apache/apisix/issues/7575


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7575: feat:ext-plugin-post-resp plugin need get original response body information

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7575:
URL: https://github.com/apache/apisix/issues/7575#issuecomment-1200592299

   LGTM


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] soulbird commented on issue #7575: feat:ext-plugin-post-resp plugin need get original response body information

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7575:
URL: https://github.com/apache/apisix/issues/7575#issuecomment-1200575184

   LGTM


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] dargoner commented on issue #7575: feat:ext-plugin-post-resp plugin need get original response body information

Posted by GitBox <gi...@apache.org>.
dargoner commented on issue #7575:
URL: https://github.com/apache/apisix/issues/7575#issuecomment-1200576449

   This is a good idea. I hope to add it as soon as possible


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] spacewander commented on issue #7575: feat:ext-plugin-post-resp plugin need get original response body information

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7575:
URL: https://github.com/apache/apisix/issues/7575#issuecomment-1200415359

   Maybe we can add a response body type in the ExtraInfo:
   https://github.com/api7/ext-plugin-proto/blob/5d14fd1baaaf85d102ca877d64e79d1af85b233c/ext-plugin.fbs#L128
   like https://github.com/apache/apisix/blob/7945e6d98b4f03576af92c2255b52e367952d5f7/apisix/plugins/ext-plugin/init.lua#L297
   
   and pass the body there:
   https://github.com/apache/apisix/blob/7945e6d98b4f03576af92c2255b52e367952d5f7/apisix/plugins/ext-plugin-post-resp.lua#L146


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org