Spring Cloud Zuul gateway cannot add custom header to the response

后端 未结 0 911
不知归路
不知归路 2021-01-20 18:28

I\'m trying to add a custom header to the HTTP response on a Zuul gateway using a post-filter:

@Component
public class ResponseFilter extends ZuulFilter {

           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题