You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tr...@apache.org on 2023/10/17 01:47:10 UTC

[apisix] branch update-response-rewrite created (now 4d2a2895c)

This is an automated email from the ASF dual-hosted git repository.

traky pushed a change to branch update-response-rewrite
in repository https://gitbox.apache.org/repos/asf/apisix.git


      at 4d2a2895c Update response-rewrite.md

This branch includes the following new commits:

     new 4d2a2895c Update response-rewrite.md

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[apisix] 01/01: Update response-rewrite.md

Posted by tr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

traky pushed a commit to branch update-response-rewrite
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit 4d2a2895c5ede023709f84f5ee8e53c4c6b4a977
Author: Traky Deng <tr...@gmail.com>
AuthorDate: Mon Oct 16 18:47:05 2023 -0700

    Update response-rewrite.md
---
 docs/en/latest/plugins/response-rewrite.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/plugins/response-rewrite.md b/docs/en/latest/plugins/response-rewrite.md
index 392d36725..7637da98c 100644
--- a/docs/en/latest/plugins/response-rewrite.md
+++ b/docs/en/latest/plugins/response-rewrite.md
@@ -83,7 +83,7 @@ curl http://127.0.0.1:9180/apisix/admin/routes/1  -H 'X-API-KEY: edd1c9f034335f1
                 "set": {
                     "X-Server-id": 3,
                     "X-Server-status": "on",
-                    "X-Server-balancer_addr": "$balancer_ip:$balancer_port"
+                    "X-Server-balancer-addr": "$balancer_ip:$balancer_port"
                 }
             },
             "vars":[
@@ -107,7 +107,7 @@ Besides `set` operation, you can also `add` or `remove` response header like:
 ```json
 "headers": {
     "add": [
-        "X-Server-balancer_addr: $balancer_ip:$balancer_port"
+        "X-Server-balancer-addr: $balancer_ip:$balancer_port"
     ],
     "remove": [
         "X-TO-BE-REMOVED"