creabob commented on issue #5594: URL: https://github.com/apache/shenyu/issues/5594#issuecomment-2237829448
当我修改返回值的header头时,content-type字段无法修改,无论是我自定义的插件还是modifyResponse插件,都不成功。 我修改的方式是加入这段代码 `exchange.getResponse().getHeaders().setContentType(xxx)` 当我debug时,发现content-type有单独的方法去获取,可是并不是通过exchange的值获取。  我想问,正确修改response的content-type方式是什么? -- 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-unsubscr...@shenyu.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org