moonming commented on a change in pull request #840: feature: allow set up 
header to client in proxy-rewrite,CROS allowed
URL: https://github.com/apache/incubator-apisix/pull/840#discussion_r345034916
 
 

 ##########
 File path: doc/plugins/proxy-rewrite-cn.md
 ##########
 @@ -30,6 +30,7 @@
 |host            |可选| 转发到上游的新 `host` 地址,例如:`iresty.com` |
 |enable_websocket|可选| 是否启用 `websocket`(布尔值),默认不启用|
 |headers         |可选| 转发到上游的新`headers`,可以设置多个。头信息如果存在将重写,不存在则添加。想要删除某个 header 
的话,把对应的值设置为空字符串即可|
+|resp_headers    |可选| 指定要输出出给客户端的Header,可以设置多个。头信息如果存在将重写,不存在则添加。|
 
 Review comment:
   why `proxy-rewrite` need to modify response headers? Is it should only care 
about upstream?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to