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 2021/12/09 09:06:17 UTC

[GitHub] [apisix] bzp2010 opened a new issue #5756: request help: OpenWhisk plugin does not support modifying the response

bzp2010 opened a new issue #5756:
URL: https://github.com/apache/apisix/issues/5756


   The current `openwhisk` plugin will take the response from Apache OpenWhisk and return it directly without parsing. This request may contain complex data that rewrites the status code, response headers, and response body. We need to parse it and change the APISIX response.
   
   The complex data like this:
   ```text
   {
     "statusCode": 401,
     "headers": {
       "addition-header": "a-header"
     },
     "body": "xxx" | {"xxx":"xxx"}
   }
   ```
   We need to determine if the OpenWhisk response contains them, and if they are present, write them to the APISIX response.
   


-- 
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] xetraforest-fenghan commented on issue #5756: request help: OpenWhisk plugin does not support modifying the response

Posted by GitBox <gi...@apache.org>.
xetraforest-fenghan commented on issue #5756:
URL: https://github.com/apache/apisix/issues/5756#issuecomment-989671398


   This is a great proposal, I wish to give it a try


-- 
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] bardolphshampine commented on issue #5756: request help: OpenWhisk plugin does not support modifying the response

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


   This is a great proposal, I wish to give it a try.


-- 
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] bardolphshampine removed a comment on issue #5756: request help: OpenWhisk plugin does not support modifying the response

Posted by GitBox <gi...@apache.org>.
bardolphshampine removed a comment on issue #5756:
URL: https://github.com/apache/apisix/issues/5756#issuecomment-989670739


   This is a great proposal, I wish to give it a try.


-- 
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 closed issue #5756: request help: OpenWhisk plugin does not support modifying the response

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5756:
URL: https://github.com/apache/apisix/issues/5756


   


-- 
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