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

   ### Description
   
   Currently, response-rewrite plugin only supports set / delete headers. The 
limitation makes some operations impossible. This feature is required to 
implement [Gateway API 
HTTPHeaderFilter](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io%2fv1beta1.HTTPHeaderFilter).
   
   * Similar to #7794 
   
   ## expect
   ```json
   {
       "proxy-rewrite": {
           "headers": {
               "add": {
                   "X-Server-id": 3,
                   "X-Server-status": "on",
                   "X-Server-balancer_addr": "$balancer_ip:$balancer_port"
               }
           }
       }
   }
   ```
   ## acturl
   ```json
   {
       "proxy-rewrite": {
           "headers": {
               "X-Api-Version": "v1",
               "X-Api-Engine": "apisix",
               "X-Api-useless": ""
           }
       }
   }
   ```
   


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

Reply via email to